Jump to content

Component: Simulation 7 Seg (Advanced Shapes): Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 33: Line 33:
{| class="mtx-class-macrotable wikitable"
{| 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;" | '''ClearDigit'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearDigit'''
|-
|-
Line 46: Line 46:
{| class="mtx-class-macrotable wikitable"
{| 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;" | '''ShowDigit'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowDigit'''
|-
|-
Line 69: Line 69:
{| class="mtx-class-macrotable wikitable"
{| 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;" | '''SegControl'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SegControl'''
|-
|-

Revision as of 14:17, 13 July 2026

Author Matrix Ltd
Version 1.0
Category Advanced Shapes


Simulation 7 Seg component

Simulated single digit seven segment display. LED colour can be changed in properties.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

ClearDigit
This funtion clears all the individual segments including the decimal point segment. In simulation this sets the colours to the default BGColor component variable. It's default value is 0xCCCCCC 
- VOID Return


ShowDigit
Creates the supplied digit on the 7 segment display. Macro takes the digit to display and a boolean representing whether to display the decimal point segment or not. 
- BYTE Digit
Sets the 7seg display with the appropriate digit supplied 
- BYTE DecimalPoint
Determines whether decimal point LED is active (True/False) 
- VOID Return


SegControl
Direct control over the display segments 
- BYTE data
 
- VOID Return



Property reference

Properties
LED On Color
Color when an LED is turned on. 
LED Off Color
Color when an LED is turned off. 
Bezel Color
Color of the plastic package housing the LEDs 
Connections
Simulations