Link:
When you click the button on the right, the lights will turn on and off one by one, with each light emitting three colors. When you click the button on the left, it does the same thing but emits two colors of light.
Some tries:
I want to make 2 lights glow at the same time but I have no success using these codes:
CircuitPlayground.setPixelColor(neopixel, 255, 255, 0);CircuitPlayground.setPixelColor(neopixel, 0, 255, 0);CircuitPlayground.setPixelColor(neopixel, 0, 255, 255); // set neopixel to blue-green
delay(200);
CircuitPlayground.setPixelColor(neopixel, 0, 0, 0); // set neopixel to off
}