Component: LED Matrix (Parallel) (LEDs): Difference between revisions
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_LED_Matrix_Parrallel.fcfx FC_Comp_Source_LED_Matrix_Parrallel.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LED_Matrix_Parrallel.fcfx FC_Comp_Source_LED_Matrix_Parrallel.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
| Line 71: | Line 71: | ||
[[File:LEDmatPan.jpg]] | [[File:LEDmatPan.jpg]] | ||
| Line 81: | Line 85: | ||
===ClearLEDs=== | ===ClearLEDs=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 95: | Line 99: | ||
===DisplayString=== | ===DisplayString=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 129: | Line 133: | ||
===StrobeHigh=== | ===StrobeHigh=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 143: | Line 147: | ||
===StrobeLow=== | ===StrobeLow=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 157: | Line 161: | ||
===WriteColumn=== | ===WriteColumn=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | 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 173: | Line 177: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="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%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| Line 210: | 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 264: | 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 278: | 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 | |

