bertmelis / esp32WS2811

Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral
MIT License
35 stars 5 forks source link

Data appearing on multiple strips #5

Open IS512 opened 1 year ago

IS512 commented 1 year ago

Unable to use multiple strips, data appears on both lines.

Sample Code

#include <esp32WS2811.h>

WS2811 ws2811_Strip1(14, 50);
WS2811 ws2811_Strip2(15, 50);

void setup() {

  // start led strip
  ws2811_Strip1.begin();
  ws2811_Strip2.begin();
}

void loop() {

  ws2811_Strip1.setAll(255, 0, 0);
  ws2811_Strip2.setAll(0, 255, 0);

  ws2811_Strip1.show();
  ws2811_Strip2.show();
}
bertmelis commented 1 year ago

I have to look into this. I never really tried it myself because I only have one strip.

Can't give a deadline...