
void Main (void)

// intialize RXD & TXD (input, output)

//initialize UART
SCON   = 0x52;         /* initialize UART */
  	BRGR0  = 0xF0;         /* 9600 baud, 8 bit, no parity, 1 stop bit */
  	BRGR1  = 0x02;
  	BRGCON = 0x03;

//then send this
  printf ("Data Collected for One Day\n");
  while(1); 
