Sketch/program persistence thru reboot - noob questions
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- airgap
- Posts: 1
- Joined: Tue Jul 30, 2013 6:16 pm
Sketch/program persistence thru reboot - noob questions
Sorry for what may be a few very simple questions, but my application is to create a device that will measure the temperature within a refrigerator and shutoff or turn on the 110 AC to keep the internal temperature between 55 deg F and 59 deg F. First question is if there is an interruption in the 110 AC from the power company, and the Arduino has to go thru a power up cycle, does the Arduino (Uno?) have to be reprogrammed, or maybe you call it reloading the sketch? Is there an Arduino package that uses an EPROM, or should I plan to purchase a Standalone AVR ISP Programmer Shield Kit to permanently hold my program/sketch?
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Sketch/program persistence thru reboot - noob questions
Arduino sketches are stored in flash memory which is non-volatile. After a power outage or reset, the sketch will automatically start running again.
Please be positive and constructive with your questions and comments.