Skip to content
Snippets Groups Projects
Commit 77f3e320 authored by Benjamin Koch's avatar Benjamin Koch
Browse files

fix swapped pins

parent f60906a1
No related branches found
No related tags found
No related merge requests found
...@@ -264,8 +264,8 @@ async fn main(spawner: Spawner) { ...@@ -264,8 +264,8 @@ async fn main(spawner: Spawner) {
info!("starting"); info!("starting");
// pinout: // pinout:
let mut _drive1 = Output::new(p.PIN_0, Level::Low); let mut _drive2 = Output::new(p.PIN_0, Level::Low);
let mut _drive2 = Output::new(p.PIN_1, Level::Low); let mut _drive1 = Output::new(p.PIN_1, Level::Low);
//let LED_W = p.PIN_2; //let LED_W = p.PIN_2;
let _ws2812_display = p.PIN_2; let _ws2812_display = p.PIN_2;
//let LED_Y = p.PIN_3; //let LED_Y = p.PIN_3;
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#include <Adafruit_NeoPixel.h> #include <Adafruit_NeoPixel.h>
enum Pinout { enum Pinout {
DRIVE1 = 0, DRIVE2 = 0,
DRIVE2 = 1, DRIVE1 = 1,
LED_W = 2, LED_W = 2,
WS2812_DISPLAY = 2, WS2812_DISPLAY = 2,
LED_Y = 3, LED_Y = 3,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment