上QQ阅读APP看书,第一时间看更新
Setting all NeoPixels to the same color
This recipe explains how you can set all the pixels to one color through a single call, instead of looping through all the NeoPixels and setting their colors individually. You can use this technique to create a nice effect to set all 10 NeoPixels to the same color. They are arranged in a perfect circle, so it creates a ring of color when they are all set to the same color. It is also an easy way to turn all the NeoPixels off in one call.