Jump to content

Component: Rotary Switch (Switch): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 15: Line 15:
A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.
A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.


==Component Pack==
==Component Source Code==


BASICIO
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_RotarySwitch10-16.fcfx FC_Comp_Source_RotarySwitch10-16.fcfx]


==Detailed description==
==Detailed description==


''No detailed description exists yet for this component''
''No detailed description exists yet for this component''


==Examples==
==Examples==




Line 81: Line 85:
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Pins
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
Line 101: Line 109:
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
|-
|}
|}

Revision as of 17:50, 9 November 2022

Author Matrix TSL
Version 1.0
Category Switch


Rotary Switch component

A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.

Component Source Code

Please click here for the component source code: FC_Comp_Source_RotarySwitch10-16.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

SetPosition
Sets the current position of the rotary switch. 
- BYTE Position
 
- VOID Return


GetPosition
Reads the current position of the rotary switch. 
- BYTE Return



Property reference

Properties
Num Positions
 
Common Type
 
Pins
Pin 1
 
Pin 2
 
Pin 4
 
Pin 8