i2cdevlib icon indicating copy to clipboard operation
i2cdevlib copied to clipboard

Compilation errors due to CalLib.cpp

Open Holei opened this issue 12 years ago • 2 comments

Hi, I think I have a wrong CalLib.cpp in my Library: " Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK" C:\Program Files (x86)\Arduino\libraries\RTIMULib\CalLib.cpp: In function 'void calLibErase(byte)': C:\Program Files (x86)\Arduino\libraries\RTIMULib\CalLib.cpp:62: error: 'EEPROM' was not declared in this scope" Is there a better version of this file?

Holei avatar Oct 25 '14 09:10 Holei

Sorry, I didn't point out that my problem occured trying to compile MPU6050_DMP6.ino. Horst

Holei avatar Oct 25 '14 10:10 Holei

Hello @Holei,

None of the I2Cdevlib files use EEPROM code; this would seem to be in the CalLib code, which doesn't come from this repository. You may need to add an #include <EEPROM.h> line in your main Arduino sketch file.

jrowberg avatar Nov 30 '14 21:11 jrowberg