fix encoder resolution for Knobs3
This commit is contained in:
parent
804b5ec575
commit
cbaddef9a6
@ -15,6 +15,7 @@ knob.extensions.append(media_keys)
|
|||||||
|
|
||||||
# Rotary encoders that also acts as keys
|
# Rotary encoders that also acts as keys
|
||||||
encoder_handler = EncoderHandler()
|
encoder_handler = EncoderHandler()
|
||||||
|
encoder_handler.divisor = 2
|
||||||
encoder_handler.pins = (
|
encoder_handler.pins = (
|
||||||
(board.D1, board.D2, board.D0),
|
(board.D1, board.D2, board.D0),
|
||||||
(board.D9, board.D10, board.D3),
|
(board.D9, board.D10, board.D3),
|
||||||
|
Loading…
Reference in New Issue
Block a user