Difference between revisions of "Component: Switch (Rocker) ()"
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_sw_rocker_neon.fcfx FC_Comp_Source_sw_rocker_neon.fcfx] |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 30: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 40: | Line 44: | ||
==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;" | Colours | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | LED | ||
+ | |- | ||
+ | | colspan="2" | Color of the indicator lamp built into the switch. Property sets the 'on' color - 'off' color will be a much darker shade of the same hue. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Rocker | ||
+ | |- | ||
+ | | colspan="2" | Color for the moving part of the switch. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
+ | | width="90%" | Bezel | ||
+ | |- | ||
+ | | colspan="2" | Color of the switch bezel (surround) | ||
+ | |- | ||
+ | | 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%" | Connection | ||
+ | |- | ||
+ | | colspan="2" | Chip pin to which this switch is connected. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Polarity | ||
+ | |- | ||
+ | | colspan="2" | Sets whether activating the switch tales the chip pin high or low. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Debounce (ms) | ||
+ | |- | ||
+ | | colspan="2" | Time in milliseconds allowed for the chip pin to settle after a change of switch state. NB) Debouncing is only used when reading the switch state with the component macros. Chip pins are NOT debounced! | ||
+ | |- | ||
+ | | 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-16-icon.png]] | ||
+ | | width="90%" | Operation | ||
+ | |- | ||
+ | | colspan="2" | Latching = Click to turn on, click again to turn off. Momentary = Click to turn on, release to turn off. | ||
+ | |}==Macro reference== | ||
Revision as of 15:18, 20 January 2023
Author | Matrix Ltd |
Version | 1.0 |
Category |
Contents
Switch (Rocker) component
Rocker switch with indicator lamp and properties for changing the colours of each part.
Component Source Code
Please click here to view the component source code (Beta): FC_Comp_Source_sw_rocker_neon.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Property reference
==Macro reference==