rs232spi 2.0.0.0
|
Rs232Spi Click example. More...
Functions | |
void | application_init () |
void | application_task () |
int | main (void) |
Rs232Spi Click example.
This example showcases how to initialize and use the RS232 SPI click. The click has a uni- versal asynchronous transceiver which uses a SPI serial interface to communicate with the MCU. In order for this example to work, 2 clicks are needed - a receiver and a transmitter.
The demo application is composed of two sections :
This function initializes and configures the logger and click modules. Additional configura- ting is done in the default_cfg(...) function.
This function receives and displays UART data in the "read mode" and sends the predefined message in the "write mode".
void application_init | ( | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | ) |
int main | ( | void | ) |