Introduction - If you have any usage issues, please Google them yourself
Program Description: This program through the serial port 0 in the query mode to achieve the serial port receive and transmit. There are three main program in the transceiver, it can be a separate trial. Port Description: TXD0 P0.0 serial input serial output RXD0 P0.1 setting method: PINSEL0 = 0x00000005 // set the I/O port is connected to UART0, may affect other port PINSEL0 = (PINSEL0 & (~ 0x0F) ) | 0x05 // does not affect other port