Difference between revisions of "Component: LED Matrix (Serial) (LEDs)"
From Flowcode Help
Jump to navigationJump to search| 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_temp/LED_Matrix.fcfx FC_Comp_Source_temp/LED_Matrix.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_temp/LED_Matrix.fcfx FC_Comp_Source_temp/LED_Matrix.fcfx] |
==Detailed description== | ==Detailed description== | ||
| Line 53: | Line 53: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | ==Macro reference== | ||
| − | === | + | ===ClearLEDs=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearLEDs''' |
|- | |- | ||
| − | | colspan="2" | Sets the | + | | colspan="2" | Sets all of the LEDs in the matrix to the off state. |
|- | |- | ||
|- | |- | ||
| Line 117: | Line 105: | ||
| − | === | + | ===StrobeHigh=== |
| + | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| + | |- | ||
| + | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''StrobeHigh''' | ||
| + | |- | ||
| + | | colspan="2" | Sets the strobe pin high. Strobing controls the LED brightness and does not apply to simulation. | ||
| + | |- | ||
| + | |- | ||
| + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| + | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
| + | |} | ||
| + | |||
| + | |||
| + | ===StrobeLow=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''StrobeLow''' |
|- | |- | ||
| − | | colspan="2" | Sets | + | | colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation. |
|- | |- | ||
|- | |- | ||
Revision as of 12:01, 3 February 2023
| Author | Matrix Ltd |
| Version | 1.1 |
| Category | LEDs |
Contents
LED Matrix (Serial) component
LED Matrix component designed to work using a single data and 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_temp/LED_Matrix.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/LED_Matrix.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
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 | |