leddriver11 2.0.0.0
|
LED Driver 11 Click is a compact add-on board that simplifies the control of multiple LEDs. This board features the WLMDU9456001JT (172946001), a fully integrated constant current LED driver with the buck switching regulator and inductor in a single package from Würth Elektronik.
We provide a library for the LEDDriver11 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for LEDDriver11 Click driver.
leddriver11_cfg_setup
Config Object Initialization function. leddriver11_init
Initialization function. leddriver11_default_cfg
Click Default Configuration function. leddriver11_pwm_start
This function starts the PWM moudle output. leddriver11_set_current
This function sets the LEDs current via a 12-bit DAC module. leddriver11_set_duty_cycle
This function sets the PWM duty cycle in percentages ( Range[ 0..1 ] ). This example demonstrates the use of LED Driver 11 click board.
The demo application is composed of two sections :
Initializes the driver and executes the click default configuration which starts the PWM module and sets the LEDs current to minimum.
Controls the LEDs brightness by changing the PWM duty cycle. The PWM duty cycle percentage will be logged on the USB UART.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.