leddriver19
2.1.0.0
|
LED Driver 19 Click is a compact add-on board that simplifies the control of multiple LEDs. This board features the LED1202, a 12-channel low quiescent current LED driver from STMicroelectronics. It can output 5V, and each channel can provide up to 20mA with a headroom voltage of typically 350mW.
We provide a library for the LED Driver 19 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 LED Driver 19 Click driver.
leddriver19_cfg_setup
Config Object Initialization function. leddriver19_init
Initialization function. leddriver19_default_cfg
Click Default Configuration function. leddriver19_sw_reset
LED Driver 19 software reset function. leddriver19_enable_channels
LED Driver 19 enables channels function. leddriver19_set_pattern_pwm
LED Driver 19 set pattern PWM value function. This library contains API for LED Driver 19 Click driver.
The library initializes and defines the I2C bus drivers to write the default configuration for a PWM output value of the out pins.
The demo application is composed of two sections :
Initializes the driver and performs default configuration, sets the device
in output enabled mode and checks communication by reading device ID.
This example demonstrates the use of the LED Driver 19 Click board by
changing PWM values of all channels from maximum to minimum turning LEDs on and off in the process.
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.