Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Turns a LED into a flickering 'candle'.
C++
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Candle.cpp
Candle.h
README.md

README.md

Arduino-Candle

Turns an LED that is connected to a PWM into a flickering candle.

I created this for a halloween project last year. I wanted a semi-realistic 'candle' to go inside of my animatronic pumpkin (The Chomp-O-Lantern).

Usage

  1. Include candle.h
  2. Declare a candle:

    Candle candle

  3. In setup() call candle.setup, specifying the pin number: candle.setup(11);

  4. In your main loop simply call candle.flicker();

Something went wrong with that request. Please try again.