Modded encoder
Last updated
Last updated
"Modded" encoders are standard incremental encoders with two extra button numbers available by holding the . Lets say your encoders produces button numbers 14 and 15 on CW and CCW rotation. Holding the modButton will change the numbers to 16 and 17.
This is just free extra buttons, which could be useful for settings/adjustments that you don't do that often. You could have a rotary with brake balance adjustment, and ABS adjustment when holding modButton. Or a rotary to control your dash pages, and change dash template on holding modButton.
If you have a backlit encoder, you could use the function to change colors when holding modbutton:
The first line will color the LEDs 9 to 12 red (0xFF0000) if modButton is not pressed. The second line will color LEDs 9 to 12 green (0x00FF00) if modButton is pressed. Brightness is set to 25% on both, clearing LEDs is set to TRUE
and blinking is set to FALSE
.
Modded encoder in the rotary2bit .
Modded encoder in the rotary4bit.
Modded encoder in the PEC11 .
Modded encoder in the funkyRotary . This is for using a regular pushbutton to change layer, not the funky pushbutton.