Candle for Adafruit NeoPixel
Switch branches/tags
Nothing to show
Clone or download
timpear Finalized v1 code
some tweaks, plus better animation for the 8 pixel version
Latest commit b9ebf17 Dec 18, 2013
Failed to load latest commit information.
NeoCandle Finalized v1 code Dec 18, 2013
NeoCandle8 Finalized v1 code Dec 18, 2013 Finalized v1 code Dec 18, 2013

This is a candle flicker animation for Adafruit NeoPixel LEDs run from an Arduino device. The LED library is at:

There are two versions, for one pixel and eight pixels.

Adjustable variables appear at the top of the sketch: RGB mix for candle color, and cycle duration for flicker speed. The NeoPixel color mix changes for 3.3v or 5v, so recommended values are included for each.

The animation is created in the loop() by calling animation patterns and setting how long you want each one to run.

Blog writeup at

Tim Bartlett December, 2013