|
SBB Host
Host communication with the self balancing bike.
|
#include <fcntl.h>#include <termios.h>#include <unistd.h>#include <stdio.h>#include <vector>Go to the source code of this file.
Classes | |
| class | Serial |
| A class for serial communication. More... | |
Macros | |
| #define | FIFO_BUF_SIZE 262144 |
| #define | sprintf_s(buf, len, ...) snprintf((buf), (len), __VA_ARGS__) |
| #define | PORT_STR "/dev/ttyACM%u" |
| #define FIFO_BUF_SIZE 262144 |
| #define PORT_STR "/dev/ttyACM%u" |
| #define sprintf_s | ( | buf, | |
| len, | |||
| ... | |||
| ) | snprintf((buf), (len), __VA_ARGS__) |