Pages: [1]   Go Down
Author Topic: Wire.h and ArduinoRobot.h conflict  (Read 1238 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Narvik, Norway
Online Online
God Member
*****
Karma: 23
Posts: 980
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

..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)
Logged

Ny

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

fortunately I still need the robot to function with the wire
 
Logged

Narvik, Norway
Online Online
God Member
*****
Karma: 23
Posts: 980
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Ny

Pages: [1]   Go Up
Jump to: