sketchbook
|
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdarg.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "wiringSerial.h"
Functions | |
int | serialOpen (const char *device, const int baud) |
void | serialFlush (const int fd) |
void | serialClose (const int fd) |
void | serialPutchar (const int fd, const unsigned char c) |
void | serialPuts (const int fd, const char *s) |
void | serialPrintf (const int fd, const char *message,...) |
int | serialDataAvail (const int fd) |
int | serialGetchar (const int fd) |
void serialClose | ( | const int | fd | ) |
int serialDataAvail | ( | const int | fd | ) |
void serialFlush | ( | const int | fd | ) |
int serialGetchar | ( | const int | fd | ) |
int serialOpen | ( | const char * | device, |
const int | baud | ||
) |
void serialPrintf | ( | const int | fd, |
const char * | message, | ||
... | |||
) |
void serialPutchar | ( | const int | fd, |
const unsigned char | c | ||
) |
void serialPuts | ( | const int | fd, |
const char * | s | ||
) |