Open zdjurisic opened 7 years ago
I should probably mention that the same code, just including Wire and RTClib, compiles fine for, say, Mega2560, or Nano or ProMini on 328 chip
added https://github.com/XMegaForArduino/libraries/issues/6
(this issue left for reference; please post additional comments over in 'libraries')
I'm just guessing that it is the cores issue... So, with that said:
Including certain libraries causes compiling errors. For example,
#include <XWire.h>
#include <XRTClib.h>
RTC_DS1307 RTC;
void setup() {}
void loop() {}
throws:
test_TWI_DS1307:3: error: expected ')' before '*' token
the XRTClib is a copy of the RTClib, in which ony the reference to Wire was changed to XWire. Same thing with a few other libraries.