## Cool Project: Fire lamp 6 months 2 weeks ago #1861

• Ray
• Moderator
• Posts: 695
• Karma: 42
This code is pretty similar to the intensity lamp (www.electrosmash.com/forum/arduino-audio...p-changing-intensity) but this one lights the LED using a random sequence that mimics fire.
• The encoder is not used in this code (although you can use it). Only the push button is needed to completely enable/disable the lamp
• You can modify the values in:
delay(30);
delay(random(60));
to make it work a bit diferent

Hope you like it!

#### File Attachment:

File Name: lamp_fire.zip
File Size: 7 KB
Time to create page: 0.252 seconds
Joomla SEF URLs by Artio