The board is jumpered to use D0 or GPIO 26 for its communication with the ESP32. All the NeoPixel driver needs to know is thee number of LEDs there are in the ring and which GPIO line to use for communication. The red green and blue color components are given as 8 bit values and can therefore range from 0 (off) to 255 (maximum brightness),
> >
The board is jumpered to use D0 or GPIO 26 for its communication with the ESP32. All the NeoPixel driver needs to know is the number of LEDs there are in the ring and which GPIO line to use for communication. The red green and blue color components are given as 8 bit values and can therefore range from 0 (off) to 255 (maximum brightness),
Be careful: The WS2812B is extremely bright, and you may even damage your eyes when looking straight into the LED, set to maximum brightness. I therefore recommend not to set brightness values higher than 32.
Added:
> >
from machine import Pin
from neopixel import NeoPixel