excelonultra 2.0.0.0
|
ExcelonUltra Click example. More...
Macros | |
#define | MIKROE_DATA "MikroE" |
#define | CLICK_DATA "Excelon-Ultra Click" |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
ExcelonUltra Click example.
This example is showcase of device and it's library abillity. In this example is shown device ID, ability to manipulate with memory. After default configuration device IDs are logged. After that application Writes data to memory, reads data from memory, clears data from memory and checks if data is cleard by reading that same memory address.
The demo application is composed of two sections :
Initializes MCU modules for communication used in this application (UART, SPI). Calls default configuration that resets device, reads IDs, and enables writing to memory and sets all RAM memory to be free for conrol.
Write data to memory, read data from memory. After that clears that memory address, and checks if it's cleared by reading data. On every iteration of the fucntion writing data is changed between "MikroE" and "Excelon-Ultra Click"
#define CLICK_DATA "Excelon-Ultra Click" |
#define MIKROE_DATA "MikroE" |
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 | ) |