Initial en11 exploration.

This commit is contained in:
Pete Johanson
2020-07-17 22:43:19 -04:00
parent f6110a632d
commit 893b99d907
10 changed files with 542 additions and 0 deletions

View File

@@ -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>