opto7 2.1.0.0
|
Opto 7 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Opto 7 Click Example.
This example demonstrates the use of Opto 7 click board by processing the incoming data and displaying them on the USB UART.
The demo application is composed of two sections :
Initialization of UART LOG and GPIO pin, and UART drivers.
The output pin is toggled every 5 seconds and input pin state is being tracked.
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 | ) |
void main | ( | void | ) |