spirit 2.0.0.0
|
SPIRIT Click Example. More...
Macros | |
#define | PROCESS_BUFFER_SIZE 500 |
#define | PROCESS_COUNTER 20 |
#define | TEXT_TO_SEND "MikroE - SPIRIT click board\r\n" |
#define | DEMO_APP_RECEIVER |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
SPIRIT Click Example.
This example reads and processes data from SPIRIT click.
The demo application is composed of two sections :
Initializes the driver and configures the click board.
Depending on the selected mode, it reads all the received data or sends the desired message every 2 seconds.
#define DEMO_APP_RECEIVER |
#define PROCESS_BUFFER_SIZE 500 |
#define PROCESS_COUNTER 20 |
#define TEXT_TO_SEND "MikroE - SPIRIT click board\r\n" |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |