Welcome, Guest
Username: Password: Remember me

TOPIC: Cool Project: Fire lamp

Cool Project: Fire lamp 3 months 1 week ago #1861

  • Ray
  • Ray's Avatar
  • OFFLINE
  • Moderator
  • Posts: 681
  • Thank you received: 146
  • Karma: 40
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
The administrator has disabled public write access.
Time to create page: 0.244 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio