c7seg2 2.1.0.0
|
7-SEG 2 Click example More...
Macros | |
#define | C7SEG2_NUM_COUNTER_RATE 10 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
7-SEG 2 Click example
The example demonstrates the use of the 7-SEG 2 click board by displaying a counter number [0.00-9.99] which is incremented by 0.01 at a desired rate.
The demo application is composed of two sections :
Initializes the driver and performs default configuration, sets the device in output enabled mode and checks communication by reading device ID.
Writes a counter number [0.00-9.99] to the display as frequently as possible. The displayed counter value is incremented by 0.01 at a rate defined with the C7SEG2_NUM_COUNTER_RATE macro.
#define C7SEG2_NUM_COUNTER_RATE 10 |
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 | ) |