Component: Simulation 7 Seg (Advanced Shapes)

From Flowcode Help
Jump to navigationJump to search
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

Fc9-comp-macro.png 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 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png 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. 
Fc9-u8-icon.png - BYTE Digit
Sets the 7seg display with the appropriate digit supplied 
Fc9-u8-icon.png - BYTE DecimalPoint
Determines whether decimal point LED is active (True/False) 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SegControl
Direct control over the display segments 
Fc9-u8-icon.png - BYTE data
 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-2-icon.png LED On Color
Color when an LED is turned on. 
Fc9-type-2-icon.png LED Off Color
Color when an LED is turned off. 
Fc9-type-2-icon.png Bezel Color
Color of the plastic package housing the LEDs 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations