comparator 2.0.0.0
|
Comparator Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | out_state_one |
uint8_t | out_state_two |
Comparator Click example.
Comparator Click represents board equipped with two independent precise voltage comparators.
The demo application is composed of two sections :
Application Init performs Logger and Click initialization.
Comparator click checks state of the O1 and O2 pins. Results are being sent to the UART Terminal where you can track their changes. All data logs write on USB UART and changes for every 1 sec.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint8_t out_state_one |
uint8_t out_state_two |