NeoAnimationFX
This uses NeoPixelBrightnessBus and borrows code from awesome animations developed at WS2812FX.
Check WS2812FX example, easier way to achieve this. Still want to use this, follow instructions below.
Why?
- NeoPixelBrightnessBus uses DMA, so WiFi functions are not effected while animating.
- Has support for numerous LED types
- Very easy templates to handle RGB, HSL and HTML colors
- Supports segments just like WS2812FX
Limitations
- RBGW leds not yet implemented! (not high priority)
- Works on ESP8266 (for now), ESP32?
- DMA method uses pin RX / GPIO3
- UART method uses pin D4 / GPIO2
Serial.begin();
needs to be started before strip.Begin();
because both share the same pin.
How to use the library
- Download this GitHub library.
- In Arduino, Goto Sketch -> Include Library -> Add .ZIP Library... and point to the zip file downloaded.
- Install NeoPixelBus library using the same procedure.