We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2018-03-14
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: LED Drivers
Downloaded: 5145 times
Not followed.
License: MIT license
LED Driver 3 click is an RGB LED driver, capable of driving RGB LEDs with up to 30mA per segment, via the digital I2C interface. It comes with an RGB LED onboard, and is capable of displaying a palette of 32768 colors.
Do you want to subscribe in order to receive notifications regarding "LED Driver 3 Click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "LED Driver 3 Click" changes.
Do you want to report abuse regarding "LED Driver 3 Click".
Library Description
The library carries functions necessary to have complete control over all functionalities of the Click board.
Key functions:
Examples Description
The demo application is composed of three sections:
void applicationTask() { leddriver3_setIntensity(_LEDDRIVER3_INCREMENT | _LEDDRIVER3_INTENSITY_8); leddriver3_setTimer(_LEDDRIVER3_TIMER_8ms | _LEDDRIVER3_TIMER_16ms); // 24 ms leddriver3_setColor(_LEDDRIVER3_COLOR_RED); Delay_1sec(); leddriver3_setIntensity(_LEDDRIVER3_CONSTANT | _LEDDRIVER3_INTENSITY_16); leddriver3_setColor(_LEDDRIVER3_COLOR_YELLOW); Delay_1sec(); leddriver3_setColor(_LEDDRIVER3_COLOR_BLUE); Delay_1sec(); leddriver3_setRGB_Color(0x40, 0x7F, 0x80); Delay_1sec(); }
Other mikroE Libraries used in the example:
Additional notes and information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.