|
solidswitch9 2.2.0
|
SolidSwitch 9 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
SolidSwitch 9 Click example.
This example demonstrates the use of the SolidSwitch 9 Click board by gradually increasing and decreasing the output duty cycle of each output channel one by one. After each update, the output is enabled and the diagnostic status is cleared.
The demo application is composed of two sections:
Initializes the logger and the Click board driver, and applies the default configuration.
Adjusts the output duty cycle from 0% to 100% and back to 0% for each channel sequentially and clears the diagnostic status after each duty cycle update. The currently active output channel number is logged 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 | ) |