bargraph5
2.1.0.0
|
BarGraph 5 Click is a compact add-on board designed for visual data representation through LED bargraph displays. This board features three HLMP-2685 red LED bargraph displays from Broadcom Limited, controlled by the TLC5947, a 12-bit PWM LED driver from Texas Instruments. These rectangular red light bars are housed in single-in-line packages, delivering a luminous intensity of 83.4mcd with a peak wavelength of 626nm.
We provide a library for the BarGraph 5 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 BarGraph 5 Click driver.
bargraph5_cfg_setup
Config Object Initialization function. bargraph5_init
Initialization function. bargraph5_default_cfg
Click Default Configuration function. bargraph5_set_bar_level
This function sets the level of a selected BarGraph channel at the selected brightness. bargraph5_output_enable
This function enables the BarGraph LEDs output by setting the BLANK pin to low logic state. bargraph5_output_disable
This function disables the BarGraph LEDs output by setting the BLANK pin to high logic state. This example demonstrates the use of BarGraph 5 Click board by changing the level of all BarGraph output channels.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Changes the level of all BarGraph channels once per second. The channels level is displayed 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.