optoencoder3 2.0.0.0
|
Opto Encoder 3 Click example. More...
Macros | |
#define | DEMO_CNT 1 |
#define | DEMO_GRAPH 2 |
Functions | |
void | draw_pins_status (void) |
void | view_counters (void) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
optoencoder3_pins_t | pins |
Opto Encoder 3 Click example.
The demo application displays the counter value or displays the status of each O pins.
The demo application is composed of two sections :
Configures the driver and logger, and selects the demo application mode.
Depending on the demo application mode set in the application init it:
#define DEMO_CNT 1 |
#define DEMO_GRAPH 2 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void draw_pins_status | ( | void | ) |
int main | ( | void | ) |
void view_counters | ( | void | ) |
optoencoder3_pins_t pins |