Difference: RgbLEDChain (2 vs. 3)

Revision 32022-10-17 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="MinimalLectures"

The rgb LED chain

Line: 8 to 8
  This is how the board looks like:
leds.png ledRingBack.png
Changed:
<
<
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
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback