expand 2.0.0.0
|
Expand Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Expand Click example.
This applicatioin use for expansion I/O lines.
The demo application is composed of two sections :
Initialization driver enable's - GPIO, reset MCP23S17 chip, set PORTA to be output and PORTB to be input, set default configuration and start write log.
This is a example which demonstrates the use of Expand Click board. Expand Click communicates with register via SPI protocol by write and read from register, set configuration and state and read configuration and state. Results are being sent to the Usart Terminal where you can track their changes. All data logs on usb uart for aproximetly every 500 ms.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |