forked from kofal.net/zmk
refactor: Update boards/shields for encoders.
* Update existing boards/shields for new `steps` and `triggers-per-rotation` set up.
This commit is contained in:
committed by
Pete Johanson
parent
8d09809ef0
commit
34c8b3f1e3
@@ -39,7 +39,7 @@
|
||||
label = "Encoder 1";
|
||||
a-gpios = <&pro_micro 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
b-gpios = <&pro_micro 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
resolution = <4>;
|
||||
steps = <80>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
label = "Encoder 2";
|
||||
a-gpios = <&pro_micro 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
b-gpios = <&pro_micro 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||
resolution = <4>;
|
||||
steps = <80>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user