How do you clear only a single pixel in a NeoPixel - Stick with WS2812?
Set that pixel to have a zero colour but leave the rest of your buffer the same as it was.
And then "show()" the pixel (my NeoPixel instance is called "strip")
strip.setPixelColor(PixelNumber, PixelColor); // prepare pixel color
strip.show(); // send data to pixel
Yes.
Unless you have set auto_write=true when declaring the strip, in which case you don't need to.
I always think strip.show sounds a bit naughty.
I did not know. Thank you for this information. But I sometimes do not immediately want show()
.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.