Component: Rotary Switch (Switch)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Switch |
Contents
Rotary Switch component
A standard rotary switch with 4 digital outputs and 10 or 16 discrete positions.
Examples
No additional examples
Downloadable macro reference
GetPosition
Reads the current position of the rotary switch.
Parameters
- This macro has no parameters
Return value
Simulation macro reference
SetPosition
Sets the current position of the rotary switch.
Parameters
- BYTE Position
Return value
- This call does not return a value
Property reference
Num Positions
This property is of type Fixed list of ints and can be referenced with the variable name NumPositions.
No additional information
Common Type
This property is of type Fixed list of ints and can be referenced with the variable name Common.
No additional information
Pin 1
This property is of type Single digital pin and can be referenced with the variable name Pin1.
No additional information
Pin 2
This property is of type Single digital pin and can be referenced with the variable name Pin2.
No additional information
Pin 4
This property is of type Single digital pin and can be referenced with the variable name Pin4.
No additional information
Pin 8
This property is of type Single digital pin and can be referenced with the variable name Pin8.
No additional information