mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated NeoPixelBus object (markdown)
@@ -21,12 +21,15 @@ If you do not see what you require, request it by creating an issue on GitHub.
|
||||
## NeoGrbFeature
|
||||
A three element color in the order of Green, Red, and then Blue. The most common three element format. This is used for SK6812(grb), WS2811, and WS2812.
|
||||
|
||||
## NeoRgbwFeature
|
||||
A four element color in the order of Red, Green, Blue, and then White. The most common four element format. This is used for SK6812rgbw pixels that have the separate white led in them.
|
||||
## NeoGrbwFeature
|
||||
A four element color in the order of Green, Red, Blue, and then White. A common four element format. This is used for SK6812rgbw pixels that have the separate white led in them.
|
||||
|
||||
## NeoRgbFeature
|
||||
A three element color in the order of Red, Green, and then Blue. Some older pixels used this. Also used by pixels that come in a traditional LED shape rather than the surface mount chip we often see today.
|
||||
|
||||
## NeoRgbwFeature
|
||||
A four element color in the order of Red, Green, Blue, and then White. A common four element format.
|
||||
|
||||
## NeoBrgFeature
|
||||
A three element color in the order of blue, Red, and then Green.
|
||||
|
||||
@@ -53,11 +56,13 @@ It also requires the use of the RDX0/GPIO3 pin. This pin is not exposed on the
|
||||
serial.println("I can still debug using serial println");
|
||||
```
|
||||
|
||||
Due to the pin overlap, the NeoPixelBus::Begin() MUST be called after the Serial.begin(). If they are called out of order, no pixel data will be sent as the Serial reconfigured the RDX0/GPIO3 pin to its needs.
|
||||
Due to the pin overlap, there are a few things to take into consideration.
|
||||
First, when you are flashing the Esp8266, some LED types will react to the flashing and turn on. This is important if you have longer strips of pixels where the power use of full bright might exceed your design.
|
||||
Second, the NeoPixelBus::Begin() MUST be called after the Serial.begin(). If they are called out of order, no pixel data will be sent as the Serial reconfigured the RDX0/GPIO3 pin to its needs.
|
||||
|
||||
For more details on Serial and pins, refer to the [Esp8266 Arduino Reference](http://esp8266.github.io/Arduino/versions/2.1.0/doc/reference.html)
|
||||
|
||||
Thanks to g3gg0.de for porting the initial DMA support from the original. The original was located at [github/cnlohr/esp8266ws2812i2s](https://github.com/cnlohr/esp8266ws2812i2s). It has been modified dramatically since those originals but credit is due.
|
||||
Thanks to g3gg0.de for porting the initial DMA support from the original which led to this work. The original was located at [github/cnlohr/esp8266ws2812i2s](https://github.com/cnlohr/esp8266ws2812i2s). The current work is no longer based on that but it gave me the direction I needed to provide a solution.
|
||||
|
||||
## NeoEsp8266Dma400KbpsMethod
|
||||
Same as NeoEsp8266Dma800KbpsMethod but running at the older and slower data rate.
|
||||
|
Reference in New Issue
Block a user