forked from Makuna/NeoPixelBus
3bd63bffce896be09644b8f6e97c44448cc12ea5
must be output pins. caveat, there seems to be a GCC bug cause the compiler to incorrectly produce code around one of the changes, due to union with a 32bit and 8:24 bit. The IO registers must be written as 32 bits but the compiler keeps short circuit the code even though it is written to write the whole 32 bits. The official pinMode() code has a work around in it for this but that doesn't fit into the bitbang code. This issue maybe already fixed with newer IDF with a newer GCC as this has been reported to work from others.
NeoPixelBus
Arduino NeoPixel library
A library to control one wire protocol RGB, RGBW, and RGBWW leds like APA106, SK6812, WS2811, WS2812 and WS2813 that are commonly refered to as NeoPixels and two wire protocol RGB like Lpd8806, APA102 and SK9822 commonly refered to as DotStars. Supports most Arduino platforms.
For quick questions and support:
- Try the new Github Discussions
- Discord NeoPixelBus Invitation or if you are already a member of Discord Server NeoPixelBus
- Or jump on Gitter
For bugs, make sure there isn't an active issue and then create one.
Documentation
Installing This Library (preferred, you just want to use it)
Open the Library Manager and search for "NeoPixelBus by Makuna" and install
Installing This Library From GitHub (advanced, you want to contribute)
Create a directory in your Arduino\Library folder named "NeoPixelBus"
Clone (Git) this project into that folder.
It should now show up in the import list when you restart Arduino IDE.
Description
An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
7.8 MiB
Languages
C++
89.5%
C
10.5%