HI
I'm having a problem compiling a sketch.
I'm using the latest 1.7 IDE on a Mac. I got an error message saying that EEPROM could not be found, I fixed this by adding the EEPROM to the library file in the package, as it wasn't included.
I now get the error message below, even after updating to the latest EEPROM version, as I saw it changed significantly early 2015, and there are example files of EEPROM.get and .put in the library folder.
Can anyone offer some guidance?
Arduino: 1.7.10 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Accessories.cpp: In member function 'void Turnout::activate(int)':
Accessories.cpp:77:12: error: 'class EEPROMClass' has no member named 'put'
EEPROM.put(num,data.tStatus);
^
Accessories.cpp: In static member function 'static void Turnout::load()':
Accessories.cpp:178:12: error: 'class EEPROMClass' has no member named 'get'
EEPROM.get(EEStore::pointer(),data);
^
Accessories.cpp: In static member function 'static void Turnout::store()':
Accessories.cpp:196:12: error: 'class EEPROMClass' has no member named 'put'
EEPROM.put(EEStore::pointer(),tt->data);
^
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.