Skip to content

bunchesofdonald/arduino-candle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Arduino-Candle

Turns a 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();

About

Turns a LED into a flickering 'candle'.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages