timerrelay 2.1.0.0
|
Timer Relay Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Timer Relay Click example.
This example demonstrates the use of the Timer Relay Click board by setting the relay timer to 2 seconds ON time, then holding it OFF for 2 more seconds.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration, then setting the ON time to 2 seconds.
This example is activating the trigger every 4 seconds activating the relay timer.
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 | ) |