I am controlling a ring 24 without issues but would like to make the code a bit cleaner. Right now I am turning off the pixels by setting all pixels to RGB(0,0,0) and then doing a ring.show(). Is it possible to do this with one command?
I would have thought that either ring.clear() or ring.show() (after another ring.show) would turn the whole ring off.
I believe the Adafruit library keeps a buffer of the state of all the LEDs and ring.show sends that data to the hardware. So two shows in a row will send whatever's in the buffer twice meaning no change on the second.