22 lines
476 B
C++
22 lines
476 B
C++
#ifndef Eeprom_h
|
|
#define Eeprom_h
|
|
// include library to read and write from flash memory
|
|
#include <EEPROM.h>
|
|
#include <Arduino.h>
|
|
|
|
|
|
class Eeprom {
|
|
public :
|
|
Eeprom();
|
|
public :
|
|
// void writeValueAt(int position, int size, int value);
|
|
// int readValueAt(int position, int size);
|
|
//void writeString(int position, String value);
|
|
void writeString(char add,String data);
|
|
String readString(char position);
|
|
// void readString(int position, String value);
|
|
|
|
};
|
|
|
|
#endif
|