nRF51 SDK
|
Modules | |
main.c | |
UART Example Application main file. | |
The UART Example project uses UART to communicate with a PC. It transmits and receives through the configured pins as serial device. The configured pins needs to be redirected to a COM port (or some terminal program like putty which can listen to this COM port through a terminal session). When the program start it will transmit "START: " through this serial device using simple_uart_putstring and this should be visible on the terminal. All typed characters on this terminal will be transmitted to this program through simple_uart_get and when an exit character 'q' or 'Q' is typed this program will end into an infinite loop after transmitting "EXIT!" on the new line of the terminal.
Insert the PCA10000 board in a USB slot, and find out which COM port it uses.
The UART Example Application can be tested as follows: