Arduino_APA102 - fill()

Write the color to a consecutive chain of LEDs, i.e from 4th count 5 then LEDs 4 to 9 will be saved with the same color.

Syntax

leds.fill(newColor, startLed, count)

Parameters

  • newColor: color value seeColor
  • startLed: Index to start counting
  • count: Forwarding LEDs that are going to be set.

See also