Post by jonsaken on Jun 17, 2017 15:36:18 GMT -7
We had an unfortunate accident while packing and ended up breaking the Arduino / GPS shield unit. The Uno took the worst of it and cracked entirely. Luckily we had a few and the shield seems okay. So I've put it back together and I'm now trying to program the new Arduino.
I have a fairly up-to-date Linux (Mint 17.3) but the EEPROM_Clear sketch gave me 'class EEPROMClass has no member length'.
There was an "eeprom_clear" under the examples for the EEPROM library so I tried that. I did note that it didn't have the correct length for an UNO and corrected that.
I also downloaded all the Adafruit libraries I saw in the includes for the code.
Unfortunately I'm running into errors that it would seem I should not have.
This was the first:
In file included from GroundStation_UNO_V5.ino:14:0:
/usr/share/arduino/libraries/Adafruit_BNO055/Adafruit_BNO055.h:33:19: fatal error: Wire.h: No such file or directory
#include <Wire.h>
^
compilation terminated.
Which makes no sense since, of course, I have the Wire library installed. I've used it for other things. And this is Adafruit's library, so I would have thought it would work.
I tried adding to "#include <Wire.h> to the start of GroundStation_UNO_V5.ino to see what would happen. This seems to have gotten me further except now I run into:
GroundStation_UNO_V5.ino: In function ‘void setup()’:
GroundStation_UNO_V5.ino:68:16: error: ‘class EEPROMClass’ has no member named ‘get’
GroundStation_UNO_V5.ino:84:24: error: ‘class EEPROMClass’ has no member named ‘get’
GroundStation_UNO_V5.ino:203:16: error: ‘class EEPROMClass’ has no member named ‘put’
GroundStation_UNO_V5.ino:205:16: error: ‘class EEPROMClass’ has no member named ‘put’
EEPROM is properly installed and seems to be there. It matches the most up-to-date version I can find on Github. So now I'm stuck and need an Arduino expert.
Thanks.
I have a fairly up-to-date Linux (Mint 17.3) but the EEPROM_Clear sketch gave me 'class EEPROMClass has no member length'.
There was an "eeprom_clear" under the examples for the EEPROM library so I tried that. I did note that it didn't have the correct length for an UNO and corrected that.
I also downloaded all the Adafruit libraries I saw in the includes for the code.
Unfortunately I'm running into errors that it would seem I should not have.
This was the first:
In file included from GroundStation_UNO_V5.ino:14:0:
/usr/share/arduino/libraries/Adafruit_BNO055/Adafruit_BNO055.h:33:19: fatal error: Wire.h: No such file or directory
#include <Wire.h>
^
compilation terminated.
Which makes no sense since, of course, I have the Wire library installed. I've used it for other things. And this is Adafruit's library, so I would have thought it would work.
I tried adding to "#include <Wire.h> to the start of GroundStation_UNO_V5.ino to see what would happen. This seems to have gotten me further except now I run into:
GroundStation_UNO_V5.ino: In function ‘void setup()’:
GroundStation_UNO_V5.ino:68:16: error: ‘class EEPROMClass’ has no member named ‘get’
GroundStation_UNO_V5.ino:84:24: error: ‘class EEPROMClass’ has no member named ‘get’
GroundStation_UNO_V5.ino:203:16: error: ‘class EEPROMClass’ has no member named ‘put’
GroundStation_UNO_V5.ino:205:16: error: ‘class EEPROMClass’ has no member named ‘put’
EEPROM is properly installed and seems to be there. It matches the most up-to-date version I can find on Github. So now I'm stuck and need an Arduino expert.
Thanks.