From f165915d16e3b9f95445785fde4eb7d37f19fd26 Mon Sep 17 00:00:00 2001 From: Gleb Sabirzyanov Date: Tue, 9 Jul 2024 22:34:37 +0500 Subject: [PATCH] working, fixing encoder and offset --- config/boards/shields/sexy_artsey_3d/sexy_artsey_3d.overlay | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/boards/shields/sexy_artsey_3d/sexy_artsey_3d.overlay b/config/boards/shields/sexy_artsey_3d/sexy_artsey_3d.overlay index a3d187c..1b36e45 100644 --- a/config/boards/shields/sexy_artsey_3d/sexy_artsey_3d.overlay +++ b/config/boards/shields/sexy_artsey_3d/sexy_artsey_3d.overlay @@ -39,7 +39,7 @@ // Include the direct GPIO driver... direct { kscan = <&kscan2>; - column-offset = <4>; // ...and shift it to not overlap + row-offset = <2>; // ...and shift it to not overlap }; }; @@ -78,7 +78,7 @@ label = "MAIN_ENCODER"; a-gpios = <&gpio0 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; b-gpios = <&gpio0 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; - resolution = <4>; + resolution = <2>; }; sensors {