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-07-12
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: LED segment
Downloaded: 4272 times
Not followed.
License: MIT license
RGB Driver click is an RGB LED driver, capable of driving RGB LEDs with the reasonably high amount of current, via the I2C interface.
Library Description
Library carries all necessary functions for complete control over RGB Driver click.
Key functions :
void rgbdriver_setColor(uint32_t color)
- Set some of the predefined colors provided as constants
void rgbdriver_setRGB_Color(uint8_t red, uint8_t green, uint8_t blue)
- Set raw RGB value
Example description
The application is composed of three sections:
void applicationTask()
{
rgbdriver_setColor(_RGBDRIVER_COLOR_RED);
Delay_1sec();
rgbdriver_setColor(_RGBDRIVER_COLOR_YELLOW);
Delay_1sec();
rgbdriver_setColor(_RGBDRIVER_COLOR_BLUE);
Delay_1sec();
rgbdriver_setRGB_Color(0x40, 0x9F, 0x60);
Delay_1sec();
}
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.
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.
[Learn More]Grid-EYE 2 Click is a compact add-on board designed for thermal imaging and motion detection applications. This board features the AMG883543, an infrared array sensor from Panasonic with a 90° viewing angle and an 8x8 pixel matrix that measures temperatures from 0°C to 80°C with a resolution of 0.25°C. The sensor can detect objects up to 5 meters away and outputs temperature data via a digital interface. The board also supports the Click Snap feature, allowing the main sensor area to be detached for flexible positioning.
[Learn More]This is a simple project which demonstrates the use of Accel click board. It features small ultralow power, 3-axis accelerometer ADXL345.
[Learn More]You have unsaved changes. If you choose to leave all changes will be discarded.
Do you want to subscribe in order to receive notifications regarding "RGB Driver click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "RGB Driver click" changes.
Do you want to report abuse regarding "RGB Driver click".