/* misc global definitions */ #define BAUDRATE B9600 #define CONTROL_PORT 0 #define LINELENGTH 120 #define YES 1 #define NO 0 #define TRUE 1 #define FALSE 0 #define OPEN 1 #define CLOSE 0 /* note defines are set to match most of the hardware where an electrical LOW turns ON a FET switch */ #define ON 0 #define OFF 1 #define ETX 0x03 #define LF 0x10 #define CR 0x13