scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.67k stars 642 forks source link

2x LED Strips with same amount LEDs - Color Problem #299

Closed SergeantOG closed 3 years ago

SergeantOG commented 3 years ago

Hi,

i got two LED stripes paralell with the same amount of LEDs. One is working fine, the spectrum effect is purple but on the other LED stripe it uses all colors... The spectrum effect is working

What can cause the problem?

gaijinsr commented 3 years ago

My guess is that one of the strips is RGB (or BGR or whatever) and the other one is RGBW, i.e. it expects four values per pixel. Sending RGB data to such a strip means that it takes the R value of the second pixel as the white value of the first, the GB of the second and the RG of the third for its second pixel... Those two strips cannot be used in parallel.

SergeantOG commented 3 years ago

Sorry to mention but the second strip is just the left over from the first one.

But somehow it fixed itself after executing the led.py