Go Down

Topic: Library from Library (Read 1 time) previous topic - next topic

Marvin Martian

I'm creating a small library from which I want to use the EEPROM library but I'm getting a compile error in my library on the include line
#include <EEPROM.h>

error: EEPROM.h: No such file or directory

I can use the EEPROM fine from my sketch with the same include.

Is this behaviour supported, or must all libraries be self contained?



Mar 31, 2010, 04:17 pm Last Edit: Mar 31, 2010, 04:20 pm by wayoda Reason: 1
this isn't supported.  
More information on this topic and a workaround is to be found here:

Its a long thread, you can skip to page 2 where the real problem is tackeled ....

Marvin Martian


Looking into the EEPROM library code, it's basically aliasing some core functions, so it was easier to use those directly  :)

Go Up