Reference.EEPROMRead History

Hide minor edits - Show changes to markup

June 02, 2010, at 12:55 PM by Equipo Traduccion -
Changed lines 1-15 from:

byte EEPROM.read(address)

Description

Reads a byte from the EEPROM. Locations that have never been written to have the value of 255.

Parameters

address: the location to read from, from 0 to 511 (int)

Returns

the value stored in that location (byte)

Example

to:

EEPROM.read(dirección) byte

Descripción

Lee un byte desde la EEPROM. Las direcciones en las que nunca se ha escrito tienen valor 255.

Parámetros

dirección: la localización desde donde vamos a leer, desde 0 a 511 (int)

Devuelve

el valor almacenado en esa dirección (byte)

Ejemplo

Changed lines 20-21 from:

int value;

to:

int valor;

Changed line 29 from:
  value = EEPROM.read(a);
to:
  valor = EEPROM.read(a);
Changed lines 45-46 from:

See also

to:

Mira también

February 01, 2009, at 10:48 AM by David A. Mellis -
Changed lines 5-6 from:

Reads a byte from the EEPROM.

to:

Reads a byte from the EEPROM. Locations that have never been written to have the value of 255.

March 04, 2007, at 06:21 PM by David A. Mellis -
Changed lines 9-10 from:

address: which byte to read, from 0 to 511 (int)

to:

address: the location to read from, from 0 to 511 (int)

March 04, 2007, at 06:13 PM by David A. Mellis -
Changed lines 16-17 from:

[@ #include <EEPROM.h>

to:

[@

  1. include <EEPROM.h>
March 04, 2007, at 06:12 PM by David A. Mellis -
Changed lines 16-17 from:

to:
 #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);
}
March 04, 2007, at 06:05 PM by David A. Mellis -
Added lines 1-20:

byte EEPROM.read(address)

Description

Reads a byte from the EEPROM.

Parameters

address: which byte to read, from 0 to 511 (int)

Returns

the value stored in that location (byte)

Example

See also

Share