teensy 3.1 and Wire.h

manitou

Senior Member+
teensyduino 1.17
Wire.h won't compile with board teensy 3.1, OK with teensy 3.0 ??? e.g. Example/DS1307RTC/ReadTest

DS1307RTC/DS1307RTC.cpp.o: In function `DS1307RTC::read(tmElements_t&)':
/home/linux/arduino-1.0.5/libraries/DS1307RTC/DS1307RTC.cpp:57: undefined reference to `TwoWire::beginTransmission(int)'
...

me thinks Wire.h and Wire.cpp should read
#if defined(__MK20DX128__) || defined(__MK20DX256__)
 
Back
Top