Jump to content

Component: Dashboard lamp (): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(13 intermediate revisions by 2 users 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_Dashboard_Indicator.fcfx FC_Comp_Source_Dashboard_Indicator.fcfx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Dashboard_Indicator.fcfx FC_Comp_Source_Dashboard_Indicator.fcfx]
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Dashboard_Indicator.fcfx FC_Comp_Source_Dashboard_Indicator.fcfx]


==Detailed description==
==Detailed description==




Line 28: Line 40:


==Examples==
==Examples==




Line 52: Line 74:
[http://led.linear1.org/1led.wiz LED Resistor Calculator Tool]
[http://led.linear1.org/1led.wiz LED Resistor Calculator Tool]


==Downloadable macro reference==




==Macro reference==


==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
| width="90%" class="mtx-class-propfolder" | Connections
|-
|-
|-
|-
Line 78: Line 108:
| colspan="2" | Active High:  Pin true -> On color,  Pin false -> Off color Active Low:  Pin true -> Off color,  Pin false -> On color 
| colspan="2" | Active High:  Pin true -> On color,  Pin false -> Off color Active Low:  Pin true -> Off color,  Pin false -> On color 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
| width="90%" class="mtx-class-propfolder" | Simulation
|-
|-
|-
|-

Latest revision as of 14:37, 13 July 2026

Author Matrix
Version 1.1
Category


Dashboard lamp component

Indicator with bezel and label, particularly suitable for viewing on the dashboard. Indicator on/off colors, bezel color and label all editable via properties.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

LEDs can be wired either active high or active low. The LED components should each have a property allowing you to configure which LED type your using.


An active high LED will light when the microcontroller pin is outputting a logic 1 and be off when the microcontroller pin is outputting a logic 0 or in input mode.


An active low LED will light when the microcontroller pin is outputting a logic 0 and be off when the microcontroller pin is outputting a logic 1 or in input mode.


The series resistor can be on either side of the LED and acts to protect the LED from damage due to excess current. The value of resistor used can be changed based on the brightness of the LED and power consumption.


This LED Calculator tool is a good resource for calculating the correct LED series protection resistor.

LED Resistor Calculator Tool






Macro reference

Property reference

Properties
Connections
Pin
Chip pin to connect the LED to. 
Polarity
Active High: Pin true -> On color, Pin false -> Off color Active Low: Pin true -> Off color, Pin false -> On color 
Simulation
On Color
The color of the indicator when it is turned on. 
Off Color
The color of the indicator when it is turned off. 
Bezel Color
Color of the bezel. 
Label Color
Color of the label text. 
Text
Text to show as the component label. 
Font
Font for the label text.