Skip to content

Commit

Permalink
Trying to change GPIO1 to output
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikkoloo committed Jun 4, 2024
1 parent 01a2a86 commit bd50dda
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config/boards/shields/cradio/cradio_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include "cradio.dtsi"
#include <zephyr/dt-bindings/gpio/gpio.h>

&kscan0 {
input-gpios
Expand All @@ -26,4 +27,10 @@
, <&pro_micro 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
, <&pro_micro 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
;
};
};

/ {
zephyr,user {
signal-gpios = <&pro_micro 1 GPIO_OUTPUT_HIGH>;
};
};

0 comments on commit bd50dda

Please sign in to comment.