Go Down

Topic: Wire.h and ArduinoRobot.h conflict (Read 1 time) previous topic - next topic

Ahmed_Samir

I get error while compiling whenever I include <wire.h> and <ArduinoRobot.h> in same sketch the error is
"multiple definition of `twi_init' "

I'm using lottie lemon and Arduino IDE 1.0.5-r2

can any one helpplease

knut_ny

..if U dont use the robot:  remove "robot_motor" and "robot_control" from subdir libraries
(u can also rename them: adding a space and  any character)
Ny

Ahmed_Samir

fortunately I still need the robot to function with the wire

knut_ny

You've got a double set of libraries
http://arduino.cc/en/Reference/RobotLibrary#.UyGZlIXvjYQ
You will have to disable/remove  one og them. 
Ny

Go Up