rstransceiver 2.1.0.0
|
RS Transceiver Click example. More...
Macros | |
#define | DEMO_MESSAGE "\r\nMikroE\r\n" |
#define | PROCESS_BUFFER_SIZE 20 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
RS Transceiver Click example.
This example reads and processes data from RS Transceiver Click boardâ„¢. The library also includes a function for selecting the desired operating mode, enabling/disabling the receiver or driver and data writing or reading.
The demo application is composed of two sections :
Initialization of I2C and UART module and log UART. After driver initialization, default settings turn on the device.
This example demonstrates the use of the RS Transceiver Click boardâ„¢. The app shows the device configured in loopback mode, sends a "MikroE" message, reads the received data and parses it. Results are being sent to the UART Terminal, where you can track their changes.
#define DEMO_MESSAGE "\r\nMikroE\r\n" |
#define PROCESS_BUFFER_SIZE 20 |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |