Component: Simulation 7 Seg (Simulation)
Author | Matrix Ltd |
Version | 1.0 (Release) |
Category | Simulation |
Contents
Simulation 7 Seg component
Simulated single digit seven segment display. LED colour can be changed in properties.
Examples
No additional examples
Downloadable macro reference
This component does not contain any downloadable macros
Simulation 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
Parameters
- This macro has no parameters
Return value
- This call does not return a value
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.
Parameters
- BYTE Digit
- Sets the 7seg display with the appropriate digit supplied
- BYTE DecimalPoint
- Determines whether decimal point LED is active (True/False)
Return value
- This call does not return a value
SegControl
Direct control over the display segments
Parameters
- BYTE data
Return value
- This call does not return a value
Property reference
LED On Color
This property is of type Color picker with transparency and can be referenced with the variable name LEDOnCol.
Color when an LED is turned on.
LED Off Color
This property is of type Color picker with transparency and can be referenced with the variable name LEDOffCol.
Color when an LED is turned off.
Bezel Color
This property is of type Color picker with transparency and can be referenced with the variable name BGColor.
Color of the plastic package housing the LEDs