ledflash4
2.1.0.0
|
LED Flash 4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
LED Flash 4 Click example.
This example demonstrates the use of LED Flash 4 click board by toggling the LEDs output.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration which sets the click in flash mode with the LED current of 50mA for both LEDs. The strobe pin is set to active high level type.
Toggles the LEDs output every 2 seconds using the strobe pin, and displays the LEDs state on the USB UART.
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 | ) |