digiio
2.1.0.0
|
DIGI IO Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DIGI IO Click example.
This example demonstrates the use of DIGI IO Click board by setting and reading the DOI channels state.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration which sets the DOI1 and DOI2 as output and the DOI3 and DOI4 as inputs.
Toggles the DOI1 and DOI2 pins state and then reads the status of all four DOI pins and displays the results on the USB UART approximately once per second.
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 | ) |
int main | ( | void | ) |