Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some arduino libraries cause errors #38

Open
zdjurisic opened this issue Apr 3, 2017 · 2 comments
Open

some arduino libraries cause errors #38

zdjurisic opened this issue Apr 3, 2017 · 2 comments
Assignees
Labels

Comments

@zdjurisic
Copy link

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.

@zdjurisic
Copy link
Author

zdjurisic commented Apr 4, 2017

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

@bombasticbob
Copy link
Contributor

added XMegaForArduino/libraries#6

(this issue left for reference; please post additional comments over in 'libraries')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants