Component: LED Matrix (HT16K33) (LEDs): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 328: | Line 328: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
|- | |- | ||
Revision as of 14:20, 13 July 2026
| Author | Matrix Ltd |
| Version | 2.0 |
| Category | LEDs |
LED Matrix component
LED Matrix component designed to work using a HT16K33 LED driver IC. Can drive up to 16 x 8 (128) LEDs. Includes support for 8x16 Backpack, 16x8 Featherwing, 8x8 Backpack and Custom.
Version information
Library Version, Component Version, Date, Author, Info 12, 1.0, 12-03-25, MW, Modified component icon to look better in dark mode
Detailed description
No detailed description exists yet for this component
Examples
Example to display a bitmap image on the LED matrix using the Bitmap Drawer component.
Macro reference
ChangeAddress
ClearLEDs
| ClearLEDs | |
| Sets all of the LEDs in the matrix to the off state. | |
| Return | |
DisplayString
Initialise
| Initialise | |
| Configures the I2C peripheral and sets up the HT16K33 IC ready to drive the LEDs. | |
| Return | |
SetBrightness
| SetBrightness | |
| Configures the brightness of the LEDs by varying the On portion of the duty. | |
| Brightness | |
| Range: 0-15 - 0 = Min Brightness, 15 = Full Brightness | |
| Return | |
ShiftColumns
| ShiftColumns | |
| Shifts the columns one place left or right. Used for things like displaying scrolling text. | |
| Direction | |
| 0 = Shift Left, 1 = Shift Right | |
| Return | |
WriteColumn
| WriteColumn | |
| Allows a single column of 8 LEDs to be controlled in a single action. | |
| Column | |
| Range: 0-15 | |
| Data | |
| Data to display on the column of LEDs | |
| Return | |
WriteCommand
| WriteCommand | |
| Writes a command. | |
| Command | |
| Return | |
WriteLED
WriteLEDXY
WriteRegister
| WriteRegister | |
| Writes a value to a register. | |
| Address | |
| Value | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LED_Matrix_HT16K33.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LED_Matrix_HT16K33.fcfx