Error while compiling any MySensor sketch
-
Hi everyone,
I have just installed the MySensor library:
- copied the whole content of the library folder in my arduino lib folder
- restarted the IDE (1.0.5-r2)
I tried compiling several MySensors exemples directly from the example menu and always get the same error:
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp: In member function 'void Relay::begin(uint8_t, rf24_pa_dbm_e, uint8_t, rf24_datarate_e)':
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp:23: error: 'EEPROM' was not declared in this scope
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp: In member function 'void Relay::addChildRoute(uint8_t, uint8_t)':
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp:220: error: 'EEPROM' was not declared in this scope
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp: In member function 'void Relay::removeChildRoute(uint8_t)':
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp:227: error: 'EEPROM' was not declared in this scopeI'm able to compile other sketches on that environment.
I didn't find that error on the forum, so I wondered if I had another Relay.h in my environment, which could conflict with yours, but it's not the case.
Any idea?
Thanks in advance for your help.
Totony.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login