/* we need to know the clock frequency, 
   please check the source if UC_CLOCK is above 10MHz */
#define BAUDRATE 9600

#define RS232_NORMAL 0
#define RS232_ESC 1
#define RS232_D 2
#define RS232_D_ 3
#define RS232_CLEAREOL 4

void rs232_init();     /* set baud rate register */
void rs232_sendbyte(uint8_t); /* send a single byte to rs232 */
void rs232_sendhex(uint8_t); /* send a single byte to rs232 */
