Jump to content

Component: Switch Rotary 0 - 15 (Switch)

From Flowcode Help
Revision as of 14:37, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

GetPosition
Reads the button state as 0 for released or 1 for pressed Performs debounce if required 
- BYTE Return


SetPosition

SetPosition
Sets the switch to be on or off. 
- BYTE Position
The new state of the switch (true=on, false=off) 
- VOID Return


Property reference

Properties
Num Positions
 
Pin 1
 
Pin 2
 
Pin 4
 
Pin 8
 
Common
 
Component Label
 
Appearance
Show Position Numbers
 
Style
 
Style
 
Type