NeoPixel.fill()

Allows you to set a specific color for a group of ribbon LEDs. NeoPixel.fill(neo_pin, first_id_led, count, color)
NeoPixel.fill(neo_pin, first_id_led, count, color, brightness)
neo_pin: pin to which the LED strip was connected. first_id_led: the first number of the group of LEDs in the tape - counting from 0. count: number of LEDs in a group. color: RGB/RGBW the color that is formed with RGB/ RGBW - depending on the tape. brightness: brightness - it overrides the global brightness. nothing


Reference Home

Corrections and documentation improvements are accepted via fork & pull-request on GitHub. Suggestions and feature requests are welcome to the Forum.

The text of the Z-Uno reference is based on Arduino Reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

×

Uploading the sketch to your Z-Uno:

Use this QR-code to include your device using Z-Wave Smart Start or triple click BTN button