refactor: Update boards/shields for encoders.

* Update existing boards/shields for new `steps` and
  `triggers-per-rotation` set up.
This commit is contained in:
Peter Johanson
2023-10-18 02:33:03 +00:00
committed by Pete Johanson
parent 8d09809ef0
commit 34c8b3f1e3
22 changed files with 69 additions and 51 deletions

View File

@@ -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";
};