Opto 7 Click Example.
Description
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 :
Application Init
Initialization of UART LOG and GPIO pin, and UART drivers.
Application Task
This example is made of two parts: GPIO Example - The output pin is toggled every 5 seconds and input pin state is being tracked. UART Example - Device assigned as transmitter is sending message and receiver is reading it and displaying it on USB UART.
Additional Function
- static void opto7_clear_app_buf ( void )
- static void opto7_log_app_buf ( void )
- static err_t opto7_process ( opto7_t *ctx )
- Author
- Stefan Ilic