Set the rotary increment to 4, 1 is way too slow
This commit is contained in:
parent
ab5d91f1da
commit
1036a8b38e
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -42,6 +42,7 @@ rotary = RotaryIRQ(
|
|||
max_val=128,
|
||||
range_mode=RotaryIRQ.RANGE_BOUNDED,
|
||||
pull_up=True,
|
||||
incr=4,
|
||||
)
|
||||
rotary_value = rotary.value()
|
||||
rotary_button = Button(Pin(36, Pin.IN))
|
||||
|
|
Loading…
Reference in a new issue