Component: LED Matrix (HT16K33) (LEDs): Difference between revisions
Appearance
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 342: | Line 342: | ||
| colspan="2" | Total number of LEDs in the component | | colspan="2" | Total number of LEDs in the component | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
|- | |- | ||
| Line 381: | Line 381: | ||
| colspan="2" | Pin used for SCL (clock signal) | | colspan="2" | Pin used for SCL (clock signal) | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Colours | ||
|- | |- | ||
|- | |- | ||
| Line 405: | Line 405: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
| Line 414: | Line 414: | ||
| colspan="2" | Sets the simulation type. Component GUI allows the object on the panel to reflect what the reakl life LED matrix should do. I2C Injector allows the I2C communications to be simulated via injectors. | | colspan="2" | Sets the simulation type. Component GUI allows the object on the panel to reflect what the reakl life LED matrix should do. I2C Injector allows the I2C communications to be simulated via injectors. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | GUI | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 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