leddriver2 2.0.0.0
|
LedDriver2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
LedDriver2 Click example.
This app enables usage of compact, high-efficiency, fixed frequency, synchronous step-up converter, optimized to drive one LED with the constant current.
The demo application is composed of two sections :
Initialization driver enables - GPIO, PWM initialization set PWM duty cycle and start PWM.
This is an example that demonstrates the use of the LED Driver 2 Click board. This example shows the automatic control halogen bulb light intensity, the first intensity of light is rising and then the intensity of light is falling. Results are being sent to the Usart Terminal where you can track their changes.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |