EN11 is actually EC11, some sample work.
This commit is contained in:
parent
331bfa7052
commit
109c69cbab
11 changed files with 237 additions and 247 deletions
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue