Component: Switch (Rocker) ()

From Flowcode Help
Jump to navigationJump to search
Author Matrix Ltd
Version 1.0
Category


Switch (Rocker) component

Rocker switch with indicator lamp and properties for changing the colours of each part.

Component Source Code

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

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

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Colours
Fc9-type-1-icon.png LED
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. 
Fc9-type-1-icon.png Rocker
Color for the moving part of the switch. 
Fc9-type-1-icon.png Bezel
Color of the switch bezel (surround) 
Fc9-conn-icon.png Connections
Fc9-type-5-icon.png Connection
Chip pin to which this switch is connected. 
Fc9-type-16-icon.png Polarity
Sets whether activating the switch tales the chip pin high or low. 
Fc9-type-14-icon.png Debounce (ms)
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! 
Fc9-conn-icon.png Simulation
Fc9-type-16-icon.png Operation
Latching = Click to turn on, click again to turn off. Momentary = Click to turn on, release to turn off.