This library features a variety of blinken effects for the WS2811/WS2812/NeoPixel LEDs. It is meant to be a drop-in replacement for the Adafruit NeoPixel library with additional features. You can search for WS2812FX in the Arduino IDE Library Manager or install the latest (or development) version manually. More complex effects can be created by dividing your string of LEDs into segments (up to ten) and programming each segment independently. Use the segment() function to program each segment's mode, color, speed, and direction (normal or reverse). Note, some effects make use of more than one color (up to three) and are programmed by specifying an array of colors. Random color introduced alternating from start and end of strip. Alternating white/red/black pixels running. Strobe effect with different strobe count and pause, controlled by speed setting. Classic Strobe effect. Cycling through the rainbow.

Features

  • 55 different effects and counting
  • Tested on Arduino Uno/Micro/Nano/Leonardo and ESP8266/ESP32
  • All effects with printable names
  • Easy to use in user interfaces
  • FX, speed and brightness controllable on the fly
  • Ready for sound-to-light (see external trigger example)

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow WS2812FX

WS2812FX Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WS2812FX!

Additional Project Details

Programming Language

C++

Related Categories

C++ Hardware Platform, C++ Robotics Software, C++ Libraries

Registered

2022-03-24