The photo resistor and 10KΩ pull-up resistor part is for the delay. So if you come close to the Arduino Candle, the photoresistor detects less light and decreases the delay. In other words, I just edited it to flicker faster when the photoresistor detects less light.
(Actually I was too lazy to make a wind switch as shown here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1192693288
(Actually I was too lazy to make a wind switch as shown here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1192693288
Yup, I took the code by jerrya.net and edited it)
Video:
No comments:
Post a Comment