Neopixel to run in loop with 6 colours

So basically i have a 24 led Neopixel ring and i would like it so that it will run the first four leds in e.g. green, then they will turn off and then it will run the next four leds in red for example while the others are off and so on until it does for all 24 leds, carrying on in a loop.

Thanks in advance.

It'll be best if you can ask a few specific questions. Threads that start with an implicit request for a complete design tend not to end well.

I'm just the messenger. :slight_smile:

Have you read through the NeoPixel documentation and looked at the code library? Have you gotten any simpler things to work--like blinking a single NeoPixel LED or cycling one through a few colors? If not, start there.

Thanks for the reply, i have found a solution however it is really inefficient, but it will do for the moment.

Leo_dye:
Thanks for the reply, i have found a solution however it is really inefficient, but it will do for the moment.

Post your solution and we may be able to help make it more efficient.