27 #define DEFAULT_BAUDRATE 38400 31 #define SER_INTERVAL 0.0050 42 int serial_recieve(
int (*serial_event)(
char *,
int,
double,
void *),
void *data);
int serial_write(char *buf, int len)
int serial_tryconnect(char *device_name)
int encode_write(char *data, int len)
void serial_flush_out(void)
int serial_change_baudrate(int baud)
ボーレートを変更する
int serial_recieve(int(*serial_event)(char *, int, double, void *), void *data)
int serial_connect(char *device_name)
void serial_flush_in(void)