13 lines
312 B
C++
13 lines
312 B
C++
#ifndef EEPROMUtils_h
|
|
#define EEPROMUtils_h
|
|
|
|
#include <Arduino.h> // Include the missing header file for the String class
|
|
|
|
class EEPROMUtils
|
|
{
|
|
public:
|
|
static String readString(int addr, int length);
|
|
static void writeString(int addr, const String data, int limit); // Fix the function signature
|
|
};
|
|
|
|
#endif |