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