mcp2003b 2.1.0.0
|
MCP2003B Click Example. More...
Macros | |
#define | DEMO_APP_TRANSMITTER |
#define | DEMO_TEXT_MESSAGE "MIKROE - MCP2003B click board\r\n" |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
MCP2003B Click Example.
This example demonstrates the use of an MCP2003B click board by showing the communication between the two click board configured as a receiver and transmitter.
The demo application is composed of two sections :
Initializes the driver and logger and displays the selected application mode.
Depending on the selected mode, it reads all the received data or sends the desired message every 3 seconds.
#define DEMO_APP_TRANSMITTER |
#define DEMO_TEXT_MESSAGE "MIKROE - MCP2003B click board\r\n" |
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 | ) |