rotarySwitch4Bit
Functions for rotary switches using a diode maze.
rotarySwitch4Bit()
Setup with 2 switch modes. This is the equivalent of rotaryAnalog2Mode()
Modes:
0: 12 - position switch. Absolute.
1: Incremental
Hold a modButton() and turn the rotary to switch modes.
The button numbers for mode 0 is set in the first (leftmost) slot in the switch table. The button numbers for mode 1 is set in the second slot in the switch table.
Last updated