Skip to content

Commit

Permalink
fix(shields): Leeloo-Micro set status disabled for encoders.
Browse files Browse the repository at this point in the history
  • Loading branch information
ClicketySplit authored Sep 28, 2023
1 parent 8abc449 commit 07c8283
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/boards/shields/leeloo_micro/leeloo_micro.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(3,4) RC(3,5) RC(2,5) RC(2,6) RC(2,7)
label = "LEFT_ENCODER";
a-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
steps = <120>;
status = "disabled";
steps = <60>;
};

right_encoder: right_encoder {
compatible = "alps,ec11";
label = "RIGHT_ENCODER";
a-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
steps = <120>;
status = "disabled";
steps = <60>;
};

sensors {
Expand Down

0 comments on commit 07c8283

Please sign in to comment.