Component: Switch Rotary 0 - 15 (Switch)

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


Switch Rotary 0 - 15 component

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Switch_Rotary_0_-_15_2dgi.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Switch_Rotary_0_-_15_2dgi.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

GetPosition

Fc9-comp-macro.png GetPosition
Reads the button state as 0 for released or 1 for pressed Performs debounce if required 
Fc9-u8-icon.png - BYTE Return


SetPosition

Fc9-comp-macro.png SetPosition
Sets the switch to be on or off. 
Fc9-u8-icon.png - BYTE Position
The new state of the switch (true=on, false=off) 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Num Positions
 
Fc9-type-5-icon.png Pin 1
 
Fc9-type-5-icon.png Pin 2
 
Fc9-type-5-icon.png Pin 4
 
Fc9-type-5-icon.png Pin 8
 
Fc9-type-16-icon.png Common
 
Fc9-type-16-icon.png Component Label
 
Fc9-conn-icon.png Appearance
Fc9-type-7-icon.png Show Position Numbers
 
Fc9-type-16-icon.png Style
 
Fc9-type-12-icon.png Style
 
Fc9-type-12-icon.png Type