Difference between revisions of "Component: Starburst Display 2D (Segment)"

From Flowcode Help
Jump to navigationJump to search
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.4 |- | width="20%" style="color:gray...")
 
 
(8 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx]
 +
 
 +
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx]
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
''No detailed description exists yet for this component''
 
''No detailed description exists yet for this component''
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
  
==Downloadable macro reference==
 
  
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
==Macro reference==
 +
 +
===ClearSegments===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 42: Line 75:
  
  
 +
===ShowCharacter===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| 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" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowSegments'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowCharacter'''
 
|-
 
|-
| colspan="2" | 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.&nbsp;
+
| colspan="2" | Allows certain pre-programmed characters to be displayed. 0-9, A-Z, $, [, ], +, -, \, /, *, _, {, }, .&nbsp;
 
|-
 
|-
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Segments0
+
| width="90%" | Character
 
|-
 
|-
| colspan="2" | Segment bits 0=Off 1=On : F/E/D2/D/C/B/A2/A&nbsp;
+
| colspan="2" | 0-9 or A-Z&nbsp;
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Segments1
 
|-
 
| colspan="2" | Segment bits 0=Off 1=On : M/L/K/J/I/H/G2/G1&nbsp;
 
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | DecimalPoint
 
| width="90%" | DecimalPoint
 
|-
 
|-
| colspan="2" | Segment bits 0=Off 1=On : DecimalPoint&nbsp;
+
| colspan="2" | 0=Off, 1=On&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
Line 70: Line 99:
  
  
 +
===ShowSegments===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| 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" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowCharacter'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowSegments'''
 +
|-
 +
| colspan="2" | 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.&nbsp;
 +
|-
 
|-
 
|-
| colspan="2" | Allows certain pre-programmed characters to be displayed. 0-9, A-Z, $, [, ], +, -, \, /, *, _, {, }, .&nbsp;
+
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Segments0
 
|-
 
|-
 +
| colspan="2" | Segment bits 0=Off 1=On : F/E/D2/D/C/B/A2/A&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | Character
+
| width="90%" | Segments1
 
|-
 
|-
| colspan="2" | 0-9 or A-Z&nbsp;
+
| colspan="2" | Segment bits 0=Off 1=On : M/L/K/J/I/H/G2/G1&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | DecimalPoint
 
| width="90%" | DecimalPoint
 
|-
 
|-
| colspan="2" | 0=Off, 1=On&nbsp;
+
| colspan="2" | Segment bits 0=Off 1=On : DecimalPoint&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| 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''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Latest revision as of 13:11, 7 February 2023

Author Matrix TSL
Version 1.4
Category Segment


Starburst Display 2D component

Starburst 14 or 16 segment display modelled after a standard 14mm high unit. LED colour can be changed in properties.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_LED_Starburst_Single_2dgi.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

ClearSegments

Fc9-comp-macro.png ClearSegments
This funtion clears all the individual segments including the decimal point segment. In simulation this sets the colours to the default BGColor component variable. 
Fc9-void-icon.png - VOID Return


ShowCharacter

Fc9-comp-macro.png ShowCharacter
Allows certain pre-programmed characters to be displayed. 0-9, A-Z, $, [, ], +, -, \, /, *, _, {, }, . 
Fc9-u8-icon.png - BYTE Character
0-9 or A-Z 
Fc9-u8-icon.png - BYTE DecimalPoint
0=Off, 1=On 
Fc9-void-icon.png - VOID Return


ShowSegments

Fc9-comp-macro.png ShowSegments
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 Segments0
Segment bits 0=Off 1=On : F/E/D2/D/C/B/A2/A 
Fc9-u8-icon.png - BYTE Segments1
Segment bits 0=Off 1=On : M/L/K/J/I/H/G2/G1 
Fc9-u8-icon.png - BYTE DecimalPoint
Segment bits 0=Off 1=On : DecimalPoint 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Display Segments
Controls the starburst display type and number of segments available.  
Fc9-type-16-icon.png Display Type
Set this property to match your hardware device. Common Anode: Common Pin High, Segment Pin Low = LED On Common Cathode: Common Pin Low, Segment Pin High = LED On 
Fc9-type-16-icon.png Common Mode
Controls if the display will be multiplexed or always on. Multplexed uses the common pin to switch a individual display on or off allowing for multiple displays. Always on removes the common pin assuming you are only using a single starburst display. 
Fc9-type-7-icon.png Show Seg Labels
Show the identifier lables of the segments overlayed over the component. 
Fc9-conn-icon.png Connections
Fc9-type-5-icon.png Pin A
Pin connected to the 'A' segment of the display. 
Fc9-type-5-icon.png Pin B
Pin connected to the 'B' segment of the display. 
Fc9-type-5-icon.png Pin C
Pin connected to the 'C' segment of the display. 
Fc9-type-5-icon.png Pin D
Pin connected to the 'D' segment of the display. 
Fc9-type-5-icon.png Pin E
Pin connected to the 'E' segment of the display. 
Fc9-type-5-icon.png Pin F
Pin connected to the 'F' segment of the display. 
Fc9-type-5-icon.png Pin G1
Pin connected to the 'G1' segment of the display. 
Fc9-type-5-icon.png Pin G2
Pin connected to the 'G2' segment of the display. 
Fc9-type-5-icon.png Pin H
Pin connected to the 'H' segment of the display. 
Fc9-type-5-icon.png Pin I
Pin connected to the 'I' segment of the display. 
Fc9-type-5-icon.png Pin J
Pin connected to the 'J' segment of the display. 
Fc9-type-5-icon.png Pin K
Pin connected to the 'K' segment of the display. 
Fc9-type-5-icon.png Pin L
Pin connected to the 'L' segment of the display. 
Fc9-type-5-icon.png Pin M
Pin connected to the 'M' segment of the display. 
Fc9-type-5-icon.png Pin DP
Pin connected to the decimal point segment of the display. 
Fc9-type-5-icon.png Common
Pin connection to the 'common' pin of the display - to allow enable/disable of the whole display. 
Fc9-conn-icon.png Colors
Fc9-type-1-icon.png LED Color
Color when an LED is turned on. When turned off, will use a much darker shade of the same hue. 
Fc9-type-1-icon.png Bezel Color
Color of the plastic package housing the LEDs 
Fc9-type-1-icon.png Label Color
Color of the optional segment name labels.