first commit
This commit is contained in:
21
ESP8266_DOMOTICZ_OCTOPRINT_WEB/Eeprom.h
Normal file
21
ESP8266_DOMOTICZ_OCTOPRINT_WEB/Eeprom.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user