expand17
2.1.0.0
|
Expand 17 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Expand 17 Click example.
This example demonstrates the use of Expand 17 Click board by setting and reading the ports state.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration which sets half of pins as output ( IO5, IO6, IO7 and IO8 ) and the half of the pins as inputs ( IO1, IO2, IO3 and IO4 ).
Sets the state of the output pins and then reads the status of the input pins and displays the results on the USB UART approximately every 2 seconds.
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 | ) |