Hello guys, Im using a uArm metal, and im trying to make it work with arduino library.
The new library has no examples(the old one had some examples).I’ve made some programs with the last working library, but it seems they doesnt work with this update(my .ino gives error). So from this point i cant make it move since the previous commands doesn’t work on this new library. It would be nice if there is any documentation about the commands to use, or any good example with the new library.
Hi, I’m using the new Arduino Libraries as explained. However this error pops up everytime I load an example using the new Lib:
In file included from Metal.ino:1:0: \Documents\Arduino\libraries\UArmForArduino-master\src/uArm.h:16:20: fatal error: EEPROM.h: No such file or directory
_ #include <EEPROM.h>_
_ ^_ compilation terminated.
Now, i manually added the eeprom.h and then the error was lifted. However the compiler then did NOT find:
Wire.h
which i also manually added. But still a new error popped up:
uArmComm.cpp: In member function unsigned char uArmComm::cmdGetE2PROMData(int, int, double*)
_ _ uArmComm.cpp: 589:24: error: ‘class EEPROMClass’ has no member named 'get
_ EEPROM.get(addr, i_val)_
I don’t know if the old library is messing with the new one and im not sure what to do to fix this. Any suggestions?
Yes, that helped a lot! I didn’t even realise that a mistake like that was possible. I had the version from arduino.org before i recieved the uArm, quite unfortunate.
Also, the arduino IDE automatically updates the uarm-library to the 2.2.1 version and not the 1.5.11 version. It took some time to finally realise that the 1.5.11 version is the working one (under tags on bithub ver. 1.5.11 is the topmost version, but if using the Arduino IDE to update, the program thinks that 2.2.1 is the correct version).
2.2.1: ↔ 1.5.11:
uarm.h ↔ uarm_library.h
Thank you for your time. I will be programming the robot with the uarm_library.h now