Jump to content

Component: LED Matrix (Serial) (LEDs): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(10 intermediate revisions by 2 users not shown)
Line 22: Line 22:


==Detailed description==
==Detailed description==




Line 43: Line 45:




''<span style="color:red;">No additional examples</span>''


==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
''<span style="color:red;">No additional examples</span>''
|-
| 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.&nbsp;
|-
|-
| 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''
|}




{| 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;" | '''StrobeLow'''
|-
| colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation.&nbsp;
|-
|-
| 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''
|}




{| 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;" | '''DisplayString'''
|-
| colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Data
|-
| colspan="2" | Data string to display on the LEDs&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" | Animation_Delay
|-
| colspan="2" | Delay in milliseconds between writing to the next column&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Leadout
|-
| colspan="2" | Allows the text to scroll completely off the display before returning 0=No, 1=Yes&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Add_Spaces
|-
| colspan="2" | Add spaces between each ASCII character 0=No, 1=Yes&nbsp;
|-
| 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''
|}




{| 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;" | '''ClearLEDs'''
|-
| colspan="2" | Sets all of the LEDs in the matrix to the off state.&nbsp;
|-
|-
| 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''
|}
{| 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;" | '''WriteColumn'''
|-
| colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Data
|-
| colspan="2" | Data to display on the column of LEDs&nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}








==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
==Macro reference==
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
|-
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | LED Type
|-
| colspan="2" | Active high outputs a logic 1 to set the LED and logic 0 to clear the LED. Active low outputs a logic 0 to set the LED and logic 1 to clear the LED&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | Row Count
|-
| colspan="2" | Number of LED rows&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | Column Count
|-
| colspan="2" | Number of LED columns&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | LED Count
|-
| colspan="2" | Total number of LEDs in the component&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Flip Display
|-
| colspan="2" | Allows the column and text data sent to the display to be flipped&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
|-
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Data In
|-
| colspan="2" | Data In pin which is used to pass the input LED value&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Data Out
|-
| colspan="2" | Data Out Pin - Optional and used to collect the data as it leaves the last buffer&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Clock
|-
| colspan="2" | Clock pin used to clock the external buffer IC's&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Strobe
|-
| colspan="2" | Strobe pin used to control the master display state, strobed at high speed using PWM to set the brightness. &nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Reset
|-
| colspan="2" | Reset pin used to clear all of the states in the external buffer IC's&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colours
|-
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | On Color
|-
| colspan="2" | Simulated colour of the LEDs when switched On&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | Off Color
|-
| colspan="2" | Simulated colour of the LEDs when switched Off&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
|-
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Row Spacing
|-
| colspan="2" | Simulation row spacing&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Column Spacing
|-
| colspan="2" | Simulation column spacing&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Width
|-
| colspan="2" | Simulation LED width&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Height
|-
| colspan="2" | Simulated LED height&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Depth
|-
| colspan="2" | Simulated LED Depth (3D environments only)&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | LED Shape
|-
| colspan="2" | Simulated LED basic shape &nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Redraw LEDs
|-
| colspan="2" | Simulated LED redraw option, display will not be updated until the redraw is set to Yes. Automatically revers back to No after the refresh has been performed.&nbsp;
|}==Macro reference==
 
{| 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.&nbsp;
|-
|-
| 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''
|}
 
 
{| 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;" | '''StrobeLow'''
|-
| colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation.&nbsp;
|-
|-
| 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''
|}
 
 
{| 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;" | '''DisplayString'''
|-
| colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Data
|-
| colspan="2" | Data string to display on the LEDs&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" | Animation_Delay
|-
| colspan="2" | Delay in milliseconds between writing to the next column&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Leadout
|-
| colspan="2" | Allows the text to scroll completely off the display before returning 0=No, 1=Yes&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Add_Spaces
|-
| colspan="2" | Add spaces between each ASCII character 0=No, 1=Yes&nbsp;
|-
| 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''
|}


 
===ClearLEDs===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearLEDs'''
| width="90%" class="mtx-class-macrohead" | '''ClearLEDs'''
|-
|-
| colspan="2" | Sets all of the LEDs in the matrix to the off state.&nbsp;
| colspan="2" | Sets all of the LEDs in the matrix to the off state.&nbsp;
Line 327: Line 75:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===DisplayString===
|-
{| class="mtx-class-macrotable wikitable"
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteColumn'''
|-
| colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Data
|-
| colspan="2" | Data to display on the column of LEDs&nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
 
 
 
 
==Property reference==
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
|-
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | LED Type
|-
| colspan="2" | Active high outputs a logic 1 to set the LED and logic 0 to clear the LED. Active low outputs a logic 0 to set the LED and logic 1 to clear the LED&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | Row Count
|-
| colspan="2" | Number of LED rows&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | Column Count
|-
| colspan="2" | Number of LED columns&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | LED Count
|-
| colspan="2" | Total number of LEDs in the component&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Flip Display
|-
| colspan="2" | Allows the column and text data sent to the display to be flipped&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
|-
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Data In
|-
| colspan="2" | Data In pin which is used to pass the input LED value&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Data Out
|-
| colspan="2" | Data Out Pin - Optional and used to collect the data as it leaves the last buffer&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Clock
|-
| colspan="2" | Clock pin used to clock the external buffer IC's&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Strobe
|-
| colspan="2" | Strobe pin used to control the master display state, strobed at high speed using PWM to set the brightness. &nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Reset
|-
| colspan="2" | Reset pin used to clear all of the states in the external buffer IC's&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colours
|-
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | On Color
|-
| colspan="2" | Simulated colour of the LEDs when switched On&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | Off Color
|-
| colspan="2" | Simulated colour of the LEDs when switched Off&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
|-
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Row Spacing
|-
| colspan="2" | Simulation row spacing&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Column Spacing
|-
| colspan="2" | Simulation column spacing&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Width
|-
| colspan="2" | Simulation LED width&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Height
|-
| colspan="2" | Simulated LED height&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Depth
|-
| colspan="2" | Simulated LED Depth (3D environments only)&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | LED Shape
|-
| colspan="2" | Simulated LED basic shape &nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Redraw LEDs
|-
| colspan="2" | Simulated LED redraw option, display will not be updated until the redraw is set to Yes. Automatically revers back to No after the refresh has been performed.&nbsp;
|}==Macro reference==
 
{| 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.&nbsp;
|-
|-
| 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''
|}
 
 
{| 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;" | '''StrobeLow'''
|-
| colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation.&nbsp;
|-
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="90%" class="mtx-class-macrohead" | '''DisplayString'''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
 
 
{| 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;" | '''DisplayString'''
|-
|-
| colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time.&nbsp;
| colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time.&nbsp;
Line 522: Line 109:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===StrobeHigh===
|-
{| class="mtx-class-macrotable wikitable"
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearLEDs'''
|-
| colspan="2" | Sets all of the LEDs in the matrix to the off state.&nbsp;
|-
|-
| 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''
|}
 
 
{| 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;" | '''WriteColumn'''
|-
| colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Data
|-
| colspan="2" | Data to display on the column of LEDs&nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
 
 
 
 
==Property reference==
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
|-
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | LED Type
|-
| colspan="2" | Active high outputs a logic 1 to set the LED and logic 0 to clear the LED. Active low outputs a logic 0 to set the LED and logic 1 to clear the LED&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | Row Count
|-
| colspan="2" | Number of LED rows&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | Column Count
|-
| colspan="2" | Number of LED columns&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
| width="90%" | LED Count
|-
| colspan="2" | Total number of LEDs in the component&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Flip Display
|-
| colspan="2" | Allows the column and text data sent to the display to be flipped&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
|-
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Data In
|-
| colspan="2" | Data In pin which is used to pass the input LED value&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Data Out
|-
| colspan="2" | Data Out Pin - Optional and used to collect the data as it leaves the last buffer&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Clock
|-
| colspan="2" | Clock pin used to clock the external buffer IC's&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Strobe
|-
| colspan="2" | Strobe pin used to control the master display state, strobed at high speed using PWM to set the brightness. &nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="90%" | Reset
|-
| colspan="2" | Reset pin used to clear all of the states in the external buffer IC's&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colours
|-
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | On Color
|-
| colspan="2" | Simulated colour of the LEDs when switched On&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]]
| width="90%" | Off Color
|-
| colspan="2" | Simulated colour of the LEDs when switched Off&nbsp;
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
|-
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Row Spacing
|-
| colspan="2" | Simulation row spacing&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Column Spacing
|-
| colspan="2" | Simulation column spacing&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Width
|-
| colspan="2" | Simulation LED width&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Height
|-
| colspan="2" | Simulated LED height&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
| width="90%" | Depth
|-
| colspan="2" | Simulated LED Depth (3D environments only)&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| width="90%" | LED Shape
|-
| colspan="2" | Simulated LED basic shape &nbsp;
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Redraw LEDs
|-
| colspan="2" | Simulated LED redraw option, display will not be updated until the redraw is set to Yes. Automatically revers back to No after the refresh has been performed.&nbsp;
|}==Macro reference==
 
{| 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" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''StrobeHigh'''
| 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.&nbsp;
| colspan="2" | Sets the strobe pin high. Strobing controls the LED brightness and does not apply to simulation.&nbsp;
Line 684: Line 123:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===StrobeLow===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''StrobeLow'''
| 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.&nbsp;
| colspan="2" | Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation.&nbsp;
Line 697: Line 137:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===WriteColumn===
|-
{| class="mtx-class-macrotable wikitable"
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisplayString'''
|-
| colspan="2" | Prints an ASCII string onto the LED Matrix a column at a time.&nbsp;
|-
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" class="mtx-class-macrohead" | '''WriteColumn'''
| width="90%" | Data
|-
| colspan="2" | Data string to display on the LEDs&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" | Animation_Delay
|-
| colspan="2" | Delay in milliseconds between writing to the next column&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Leadout
|-
| colspan="2" | Allows the text to scroll completely off the display before returning 0=No, 1=Yes&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Add_Spaces
|-
| colspan="2" | Add spaces between each ASCII character 0=No, 1=Yes&nbsp;
|-
| 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''
|}
 
 
{| 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;" | '''ClearLEDs'''
|-
| colspan="2" | Sets all of the LEDs in the matrix to the off state.&nbsp;
|-
|-
| 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''
|}
 
 
{| 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;" | '''WriteColumn'''
|-
|-
| colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one.&nbsp;
| colspan="2" | Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one.&nbsp;
Line 759: Line 154:
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
Line 796: Line 189:
| colspan="2" | Allows the column and text data sent to the display to be flipped&nbsp;
| colspan="2" | Allows the column and text data sent to the display to be flipped&nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
| width="90%" class="mtx-class-propfolder" | Connections
|-
|-
|-
|-
Line 825: Line 218:
| colspan="2" | Reset pin used to clear all of the states in the external buffer IC's&nbsp;
| colspan="2" | Reset pin used to clear all of the states in the external buffer IC's&nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Colours
| width="90%" class="mtx-class-propfolder" | Colours
|-
|-
|-
|-
Line 839: Line 232:
| colspan="2" | Simulated colour of the LEDs when switched Off&nbsp;
| colspan="2" | Simulated colour of the LEDs when switched Off&nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
| width="90%" class="mtx-class-propfolder" | Simulation
|-
|-
|-
|-

Latest revision as of 14:37, 13 July 2026

Author Matrix Ltd
Version 1.1
Category LEDs


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_LED_Matrix.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_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. 
- VOID Return


DisplayString

DisplayString
Prints an ASCII string onto the LED Matrix a column at a time. 
- STRING Data
Data string to display on the LEDs 
- UINT Animation_Delay
Delay in milliseconds between writing to the next column 
- BYTE Leadout
Allows the text to scroll completely off the display before returning 0=No, 1=Yes 
- BYTE Add_Spaces
Add spaces between each ASCII character 0=No, 1=Yes 
- VOID Return


StrobeHigh

StrobeHigh
Sets the strobe pin high. Strobing controls the LED brightness and does not apply to simulation. 
- VOID Return


StrobeLow

StrobeLow
Sets the strobe pin low. Strobing controls the LED brightness and does not apply to simulation. 
- VOID Return


WriteColumn

WriteColumn
Allows a single column of data to be inserted, Acts to shift the rest of the columns across by one. 
- BYTE Data
Data to display on the column of LEDs 
- BYTE Return


Property reference

Properties
LED Type
Active high outputs a logic 1 to set the LED and logic 0 to clear the LED. Active low outputs a logic 0 to set the LED and logic 1 to clear the LED 
Row Count
Number of LED rows 
Column Count
Number of LED columns 
LED Count
Total number of LEDs in the component 
Flip Display
Allows the column and text data sent to the display to be flipped 
Connections
Data In
Data In pin which is used to pass the input LED value 
Data Out
Data Out Pin - Optional and used to collect the data as it leaves the last buffer 
Clock
Clock pin used to clock the external buffer IC's 
Strobe
Strobe pin used to control the master display state, strobed at high speed using PWM to set the brightness.  
Reset
Reset pin used to clear all of the states in the external buffer IC's 
Colours
On Color
Simulated colour of the LEDs when switched On 
Off Color
Simulated colour of the LEDs when switched Off 
Simulation
Row Spacing
Simulation row spacing 
Column Spacing
Simulation column spacing 
Width
Simulation LED width 
Height
Simulated LED height 
Depth
Simulated LED Depth (3D environments only) 
LED Shape
Simulated LED basic shape  
Redraw LEDs
Simulated LED redraw option, display will not be updated until the redraw is set to Yes. Automatically revers back to No after the refresh has been performed.