Component: RGB LED LP5030 LP5036 (LEDs): Difference between revisions
Appearance
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| Line 338: | Line 338: | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Driver | | width="90%" class="mtx-class-propfolder" | Driver | ||
|- | |- | ||
| Line 352: | Line 352: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Connections | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
| Line 396: | Line 396: | ||
| colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | | colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Simulation | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | LEDs |
RGB LED LP5030 LP5036 component
An I2C Based RGB LED driver with 30 or 36 individual constant-current sinks. Used to drive 10 or 12 RGB LEDs with a wide range of applications.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetBrightness
| GetBrightness | |
| Gets the brightness of a single LED. | |
| Address | |
| Range: 0-11 | |
| RGB | |
| Byte array containing at least 3 bytes to store Red, Green and Blue | |
| Return | |
GetDiscreteRGB
| GetDiscreteRGB | |
| Gets the RGB format colour of a single LED. | |
| Address | |
| Range: 0-11 | |
| ColourIndex | |
| Return | |
GetRGB
Initialise
| Initialise | |
| Starts up the I2C comms ready for communicating with the LP503x module. Must be called before any of the other component macros are called. | |
| Return | |
ReadReg
| ReadReg | |
| Reads the data from one or more sequential registers | |
| Address | |
| Data | |
| Count | |
| Return | |
SetBrightness
SetDiscreteRGB
| SetDiscreteRGB | |
| Allows the colour of a single LED to be specified in RGB format | |
| Address | |
| Range: 0-11 | |
| Red | |
| Green | |
| Blue | |
| Return | |
SetRGB
SetUnitAddress
| SetUnitAddress | |
| Allows the component to taklk to more then one IC or broadcast to all connected ICs. | |
| Address | |
| Range: 0-3 = Individual / 4 = Broadcast | |
| Return | |
WriteReg
| WriteReg | |
| Writes data to one or more sequential registers | |
| Address | |
| Data | |
| Count | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LP5036_RGB_LED.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LP5036_RGB_LED.fcfx