Initial handwire proton-c shield for testing.

This commit is contained in:
Pete Johanson
2020-06-11 23:38:04 -04:00
parent 7614e7e52b
commit 0ee01390bd
7 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/ {
chosen {
zmk,kscan = &kscan0;
};
kscan0: kscan {
compatible = "gpio-kscan";
label = "KSCAN";
diode-direction = "row2col";
row-gpios = <&pro_micro_pins 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&pro_micro_pins 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
col-gpios = <&pro_micro_pins 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&pro_micro_pins 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};