Dividing LEDs into different groups

  • leds[NUM_LEDS] we assume you know this array is where the pixel state (colour) is stored.

  • Element 0 and NUM_LEDS - 1 are the 1st and last pixels.

  • These can be updated as you need in your sketch.

1 Like