rotary4Bit

Encoder functions in the rotary4Bit category. Information on this category here.

rotary4Inc()

Standard incremental encoder setup. Rotating CW will give a button pulse, rotating CCW will give a button pulse with a button number 1 value higher.

rotary4Modes()

Setup with several switch modes, including a hybrid switch. You can set the amount of positions of the hybrid switch to any number.

Modes:

  • 0: 16 - position switch (absolute)

  • 1: Incremental (similar to rotary4Inc())

  • 2: Open hybrid, X positions

  • 3: Closed hybrid

Uses the rotary field for field placement. Since is has 4 modes it uses 2 slots in the field.

rotary4Multi()

A counting multiposition switch. You can set the amount of positions to any number. The physical position of the switch will not be in sync with button number.

rotary4Multis()

Switch with several multiposition modes, including a 16-position switch and 3 instances of rotary4Multi().

Modes:

  • 0: 16-position switch. Absolute.

  • 1: Counting multiposition switch, any amount of positions.

  • 2: Counting multiposition switch, any amount of positions.

  • 3: Counting multiposition switch, any amount of positions.

Uses the rotary field for field placement. Since is has 4 modes it uses 2 slots in the field.

Last updated