Skip to content

Commit

Permalink
working, fixing encoder and offset
Browse files Browse the repository at this point in the history
  • Loading branch information
glebsexy committed Jul 9, 2024
1 parent 6b25b33 commit f165915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/boards/shields/sexy_artsey_3d/sexy_artsey_3d.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
};

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f165915

Please sign in to comment.