Show minor edits - Show changes to markup
EEPROM.read(address)
address: the location to read from, from 0 to 511 (int)
address: the location to read from, starting from 0 (int)
Reads a byte from the EEPROM.
Reads a byte from the EEPROM. Locations that have never been written to have the value of 255.
address: which byte to read, from 0 to 511 (int)
address: the location to read from, from 0 to 511 (int)
[@ #include <EEPROM.h>
[@
#include <EEPROM.h>
int a = 0;
int value;
void setup()
{
Serial.begin(9600);
}
void loop()
{
value = EEPROM.read(a);
Serial.print(a);
Serial.print("\t");
Serial.print(value);
Serial.println();
a = a + 1;
if (a == 512)
a = 0;
delay(500);
}
Reads a byte from the EEPROM.
address: which byte to read, from 0 to 511 (int)
the value stored in that location (byte)