So I've made a series of functions that make using EEProm MUCH easier. The functions work fine in a regular arduino sketch, but once I move them into .h and .cpp files it doesn't want to include the eeprom.h base library.
Here's my eePromString.h file:
#ifndef EEPROMSTRING_H
#define EEPROMSTRING_H
#include "Arduino.h"
#include <EEPROM.h>
class eePromString
{
public:
eePromString(int length);
void set(String name, String newvalue);
void clear();
String get(String name);
String list();
String Delete(String name);
private:
};
#endif
But, I'm getting this error:
No such file or directory #include <EEPROM.h>
I have also tried including it in the .cpp file, I get the same error. It seems like it's looking for the file in the relative folder and not finding it. Do i have to include it with an absolute path or something?
Any suggestions would be very helpful!