Questions tagged [ws2812]
23 questions
0
votes
1 answer
Can I update all WS2811 neopixels at once, instead of iteratively?
I have a set of WS2811 lights controlled using neopixels. The light data line is connected to GPIO18.
for i in range (N):
pixels[i] = colour
pixels.show()
I expected this to be the equivalent of pixels.fill(colour) but when it runs…
spraff
- 101
-1
votes
1 answer
Adafruit Neopixel library slows down code
I am trying to link WS2812 with the HC-SR04 sensor. My aim is to change the color of the leds depending on the distance the sensor measures.
I am using the Adafruit Neopixel library for controlling the leds.
My problem is as soon as a function…
Atomic94
- 1
- 1