Jump to content

Component: Simulation 7 Seg (Advanced Shapes)

From Flowcode Help
Revision as of 16:31, 7 January 2022 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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