EN11 is actually EC11, some sample work.

This commit is contained in:
Pete Johanson
2020-07-20 20:54:58 -04:00
parent 331bfa7052
commit 109c69cbab
11 changed files with 237 additions and 247 deletions

View File

@@ -8,10 +8,11 @@
/ {
encoder: encoder0 {
compatible = "alps,en11";
compatible = "alps,ec11";
label = "Rotary Encoder";
a-gpios = <&pro_micro_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
resolution = <4>;
};
};