expand15 2.1.0.0
|
Expand 15 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Expand 15 Click example.
This example demonstrates the use of Expand 15 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 the port 0 and port 1 pins as output ( P00, P02, P04, P06, P10, P12, P14 and P16) and the half of the port 0 and port 1 pins as inputs ( P01, P03, P05, P07, P11, P13, P15 and P17).
Sets the state of the output pins of one port and then reads the status of input pins of that port and displays the results on the USB UART approximately 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 | ) |