If I try to load and compile any of the provided Wire Library sketches (e.g. master_write.ino), I get an error on each line of code the uses the wire library. The error I get is :
master_writer.cpp.o: In function
C:\Program Files\Arduino/master_writer.ino:18: undefined reference toWire'
C:\Program Files\Arduino/master_writer.ino:34: undefined reference to
C:\Program Files\Arduino/master_writer.ino:34: undefined reference toTwoWire::begin()'
The line in question (line 18) is :
Wire.begin(); // join i2c bus (address optional for master)
Needless to say I get the same error if I try to write my own sketch using the wire library. Has anyone successfully compiled any of the Wire Library examples?