relay7
2.1.0.0
|
Relay 7 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Relay 7 Click example.
This example demonstrates the use of the Relay 7 Click board by toggling the relay state.
The demo application is composed of two sections :
Initialization of I2C module and log UART. After driver initialization, the app executes a default configuration.
The demo application toggles the state of all relays every 5 seconds. The results are sent to the UART terminal, where you can monitor their changes.
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 | ) |