Thank you. Keep in mind I am learning in this process, it is the most important part of the whole project. This is my first programming project with the Arduino Duemilanove ( Arduino | Arduino Microcontroller - Maker Shed ) I don't think its much about the necessity of building the thing. Its more like a personal advanced project, and I like to learn as I go along. I kind of see this as my hands on learning environment, and if I may do so respectfully. I may understand things a bit differently and my questions may not be too revealing because I like to do some of the work myself. I am writing to get direction and feed back and try to use my combined understanding when building.
You have not decided how you will store the data.
Actually I have. I just thought I first learn how to write and read and then I'll concentrate on the what to write part. In my mind I think I'm approaching it from a fundamental perspective. At this point I am merely trying to manipulate code in an effort to understand and learn.
but if you have a programming error and a loop gets out of control you can accidently exceed this.
Thank you for this!!! I totally forgot about reading that. I may have ran the write code maybe a few times.
<<<<<<With regard to writing to EEPROM however, what does the following code say ?
#include <EEPROM.h>
void setup()
{
for (int i = 0; i < 512; i++)
EEPROM.write(i, i);
}
void loop()
{
}
<<<<<<<What makes it different then this one? And finally, which one could be used in the above keypad code and how ?
#include <EEPROM.h>
int addr = 0;
void setup()
{
}
void loop()
{
int val = analogRead(0) / 4;
EEPROM.write(addr, val);
addr = addr + 1;
if (addr == 512)
addr = 0;
delay(100);