Led flashing 3 at a time

I am very new to this so bare with me please.
I have a strip of WS2812B led, I have 30 led's on the strip, I would like to push a momentery switch and light up the first 3 in white for 1 sec then off, then the second 3 one sec later in red for one sec then off, then next set of 3 in blue for one sec etc. Untill the last 3 flash.
Is this possible?

Yes

1 Like

IDE >> FILE >> EXAMPLES >> 02. DIGITAL >> DEBOUNCE
https://docs.arduino.cc/built-in-examples/digital/Debounce/

Programming Electronics Academy (and their full youtube library) always has well structured and fun content:

This "library" of page describes the examples and the code (inside the folders) is fully commented for learning how to use Neopixels:

2 Likes

There's a FastLED library of examples at:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.