Skip to content

Commit

Permalink
gpio0?
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Jul 27, 2024
1 parent 6faa0eb commit 52574bb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions boards/shields/mr_useful/mr_useful.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
label = "default_kscan";
diode-direction = "col2row";

row-gpios = <&waveshare_rp2040_zero 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&waveshare_rp2040_zero 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&waveshare_rp2040_zero 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&waveshare_rp2040_zero 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
row-gpios = <&gpio0 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&gpio0 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&gpio0 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&gpio0 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;

col-gpios = <&waveshare_rp2040_zero 11 GPIO_ACTIVE_HIGH>,
<&waveshare_rp2040_zero 12 GPIO_ACTIVE_HIGH>,
<&waveshare_rp2040_zero 13 GPIO_ACTIVE_HIGH>;
col-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>,
<&gpio0 12 GPIO_ACTIVE_HIGH>,
<&gpio0 13 GPIO_ACTIVE_HIGH>;
};

default_transform: matrix_transform {
Expand Down

0 comments on commit 52574bb

Please sign in to comment.