Component: LED Matrix (Parallel) (LEDs): Difference between revisions
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 88: | Line 88: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ClearLEDs''' | ||
|- | |- | ||
| colspan="2" | Sets all of the LEDs in the matrix to the off state. | | colspan="2" | Sets all of the LEDs in the matrix to the off state. | ||
| Line 102: | Line 102: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''DisplayString''' | ||
|- | |- | ||
| colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time. | | colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time. | ||
| Line 136: | Line 136: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''StrobeHigh''' | ||
|- | |- | ||
| colspan="2" | Sets the strobe pin high. Strobing controls the LED brightness and does not apply to simulation. | | colspan="2" | Sets the strobe pin high. Strobing controls the LED brightness and does not apply to simulation. | ||
| Line 150: | Line 150: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''StrobeLow''' | ||
|- | |- | ||
| colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation. | | colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation. | ||
| Line 164: | Line 164: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''WriteColumn''' | ||
|- | |- | ||
| colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one. | | colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one. | ||
| Line 184: | Line 184: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| Line 212: | Line 212: | ||
| colspan="2" | Allows the column and text data sent to the display to be flipped | | colspan="2" | Allows the column and text data sent to the display to be flipped | ||
|- | |- | ||
| 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 266: | Line 266: | ||
| colspan="2" | Strobe pin used to control the master display state, strobed at high speed using PWM to set the brightness. | | colspan="2" | Strobe pin used to control the master display state, strobed at high speed using PWM to set the brightness. | ||
|- | |- | ||
| 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 280: | Line 280: | ||
| colspan="2" | Simulated colour of the LEDs when switched Off | | colspan="2" | Simulated colour of the LEDs when switched Off | ||
|- | |- | ||
| 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 | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.0 |
| Category | LEDs |
LED Matrix (Parallel) component
LED Matrix component designed to work using multiple data pins and a single clock pin. Each LED on the display can be controlled in a chain by setting the data appropriatley and then generating the appropriate amount of clock pulses.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_LED_Matrix_Parrallel.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_LED_Matrix_Parrallel.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Parallel LED matrix example schematic showing 16 LEDs connected using two octal buffer ICs. Data connections to the microcontroller are Data0-Data7, LED_EN, Reset and Clock.
Each clock pulse transfers the output state to the next LED so Data0 goes to LED R0D0 and LED R0D0 goes to LED R1D0 etc.
Example Program
ledmatrixp
Note. to allow the simulation to run smoothly ensure that the simulation speed is set to normal and you may also want to enable hardware acceleration using the Global Options.
Example Panel Display
Macro reference
ClearLEDs
| ClearLEDs | |
| Sets all of the LEDs in the matrix to the off state. | |
| Return | |
DisplayString
StrobeHigh
| StrobeHigh | |
| Sets the strobe pin high. Strobing controls the LED brightness and does not apply to simulation. | |
| Return | |
StrobeLow
| StrobeLow | |
| Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation. | |
| Return | |
WriteColumn
| WriteColumn | |
| Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one. | |
| Data | |
| Data to display on the column of LEDs | |
| Return | |

