Go to the documentation of this file.00001 #ifdef __cplusplus
00002 extern "C" {
00003 #endif
00004
00005 #define BUMPER_FL 97
00006 #define BUMPER_FR 98
00007 #define BUMPER_RL 99
00008 #define BUMPER_RR 100
00009 #define BATTERY 101
00010 #define READ_ANALOG 102
00011 #define GPIO_SET 103
00012 #define BEEP 104
00013 #define ESTOP_BTN 105
00014 #define ESTOP 106
00015
00016 extern int portOpen (char *device, int baud);
00017 extern void portFlush (void);
00018 extern void portClose (void);
00019 extern int portDataAvail (void);
00020 extern int portGetchar (void);
00021 extern void portPutchar (int data);
00022 extern void sendCmd(char cmd, char data1, char data2);
00023 extern void lockSerial(bool lock);
00024 extern bool getSerial(void);
00025
00026 #ifdef __cplusplus
00027 }
00028 #endif