Skip to content

Commit

Permalink
Swap P2 to P1 for NeoPixels
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-aron committed Jul 11, 2024
1 parent 55341ab commit 8378b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace gamepad {
X = 7,
}

let gamepadPixels = neopixel.create(DigitalPin.P2, 5, NeoPixelMode.RGB);
let gamepadPixels = neopixel.create(DigitalPin.P1, 5, NeoPixelMode.RGB);
gamepadPixels.clear();
gamepadPixels.show();

Expand Down

0 comments on commit 8378b86

Please sign in to comment.