blob: 048ae860ac803056a44df38b584c26c31e891bc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
memoryAccess.h - Library for easy writing to the IOT-ClapSensor EEPROM
*/
#ifndef memoryAccess_h
#define memoryAccess_h
#include "Arduino.h"
class memoryAccess {
public:
void init();
bool writeAscii(String varName, String data);
String readAscii(String varName);
void commit();
void dump();
private:
struct memoryAdress getAdress(String varName);
};
struct memoryAdress {
int startPos;
int endPos;
};
#endif
|