opto2 2.0.0.0
|
Opto 2 Click example. More...
Functions | |
void | opto2_set_logger (uint8_t sel_out1, uint8_t sel_out2, uint8_t sel_out3, uint8_t sel_out4) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Opto 2 Click example.
This application used to provide an optical isolation of sensitive microcontroller.
The demo application is composed of two sections :
Initializes device selects the outputs (OUT1 - OUT4) which state be checked.
Performs the check procedure for selected outputs and logs the states from that outputs on USB UART. Repeat the check procedure every 2 seconds.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
void opto2_set_logger | ( | uint8_t | sel_out1, |
uint8_t | sel_out2, | ||
uint8_t | sel_out3, | ||
uint8_t | sel_out4 ) |