Set the rotary increment to 4, 1 is way too slow

This commit is contained in:
Correl Roush 2023-06-17 01:02:06 -04:00
parent ab5d91f1da
commit 1036a8b38e

View file

@ -42,6 +42,7 @@ rotary = RotaryIRQ(
max_val=128, max_val=128,
range_mode=RotaryIRQ.RANGE_BOUNDED, range_mode=RotaryIRQ.RANGE_BOUNDED,
pull_up=True, pull_up=True,
incr=4,
) )
rotary_value = rotary.value() rotary_value = rotary.value()
rotary_button = Button(Pin(36, Pin.IN)) rotary_button = Button(Pin(36, Pin.IN))