Syntax
class LEEPROMClass : public _LTaskClass;
ContentsIndex
PreviousUpNext
LEEPROMClass Class
Members | Example
Syntax
class LEEPROMClass : public _LTaskClass;
Description

LEEPROMClass represents reading from and writing to a long term storage - EEPROM.

Example
#include <LEEPROM.h>
void setup() {
  // Insert your setup code here to run it once:
  
}

void loop() {
  // Insert your main code here to run it repeatedly:
  byte a = 1;
  EEPROM.write(0, a);
  byte b = EEPROM.read(0);
  if (a == b)
  {
   // Do something.
   delay(2000);
  }
}
Class Hierarchy
File

LEEPROM.h

Group
Methods
Method 
Description 
read 
LEEPROMClass();
Writes a byte to the EEPROM. 
Writes a byte to the EEPROM.