Difference between revisions of "Component: LED (Generic) ()"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LED_Shape.fcfx FC_Comp_Source_LED_Shape.fcfx] |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 36: | Line 40: | ||
==Macro reference== | ==Macro reference== | ||
+ | |||
+ | |||
+ | |||
+ | ==Property reference== | ||
+ | |||
+ | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
+ | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-5-icon.png]] | ||
+ | | width="90%" | Pin | ||
+ | |- | ||
+ | | colspan="2" | Chip pin to connect the LED to. NB) LED will not change state unless there is a pin connection. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Polarity | ||
+ | |- | ||
+ | | 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="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | On Color | ||
+ | |- | ||
+ | | colspan="2" | The color that the LED will take when lit. The off colour is calculated automatically to be a darker shade of the same hue. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Shape | ||
+ | |- | ||
+ | | colspan="2" | Shape of the LED. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Size | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Width | ||
+ | |- | ||
+ | | colspan="2" | Width of the LED shape. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Height | ||
+ | |- | ||
+ | | colspan="2" | Height of the LED shape. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Depth | ||
+ | |- | ||
+ | | colspan="2" | Depth of the LED shape. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Show | ||
+ | |- | ||
+ | | colspan="2" | Decide what labels to show... None - no labels are displayed Name - shows each component's name Property - shows a particular property of each component (see 'property' below. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-10-icon.png]] | ||
+ | | width="90%" | Property | ||
+ | |- | ||
+ | | colspan="2" | Show a particular property of each object. If a port or pin property is chosen, the label can be abbreviated to remove the '$PORT' text. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Color | ||
+ | |- | ||
+ | | colspan="2" | Color of the labels text. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Scale | ||
+ | |- | ||
+ | | colspan="2" | Sets the basic size (text height) of the labels. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
+ | | width="90%" | Follow Zoom | ||
+ | |- | ||
+ | | colspan="2" | Whether labels get bigger and smaller when the panel is zoomed in and out. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Position | ||
+ | |- | ||
+ | | colspan="2" | Set the position of the label relative to the component. | ||
+ | |}==Macro reference== | ||
Revision as of 15:15, 20 January 2023
Author | Matrix Ltd |
Version | 0.1 |
Category |
Contents
LED (Generic) component
Basic LED component using simple geometric shapes.
Component Source Code
Please click here to view the component source code (Beta): FC_Comp_Source_LED_Shape.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Property reference
==Macro reference==