Initial en11 exploration.
This commit is contained in:
parent
f6110a632d
commit
893b99d907
10 changed files with 542 additions and 0 deletions
|
|
@ -6,6 +6,18 @@
|
|||
|
||||
#include "kyria.dtsi"
|
||||
|
||||
/ {
|
||||
sensors {
|
||||
encoder: encoder0 {
|
||||
compatible = "alps,en11";
|
||||
label = "Rotary Encoder";
|
||||
a-gpios = <&pro_micro_d 5 GPIO_ACTIVE_HIGH>;
|
||||
b-gpios = <&pro_micro_d 9 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&kscan0 {
|
||||
col-gpios
|
||||
= <&pro_micro_a 3 GPIO_ACTIVE_HIGH>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue