Closed GoogleCodeExporter closed 9 years ago
Both WConstants.h and wiring.h are also not included in the Mac version of
Arduino 1.0-rc2.
Furthermore, the example sketch from OneWire library, which references to
WConstants.h, fails also to compile.
However, the above solution with including a reference to "wiring" does not
help. Moreover, old WConstants.h and wiring.h files from Arduino 0022 also do
not allow to compile the sketch.
Original comment by pskor...@gmail.com
on 28 Oct 2011 at 7:03
Under 1.0 and later, you're meant to use Arduino.h rather than WConstants.h.
This is known to break compatibility with old libraries.
Original comment by picxp...@hotmail.com
on 28 Oct 2011 at 8:27
Yeah, these were removed intentionally. You can use Arduino.h instead.
Original comment by dmel...@gmail.com
on 29 Oct 2011 at 9:50
I got this to work... Any instance of "WConstants.h" or "wiring.h" needs to be
replaced with "Arduino.h".
Thanks.
Original comment by hscharler@gmail.com
on 29 Oct 2011 at 10:00
I'm using LCD4884 library in one of my projects, and I had this issue.
At first, the compiling error was that "WConstants.h" didn't exist. I replaced
"WConstants.h" with "Arduino.h" and now I have about 15-20 compiling errors,
mostly pertaining to conflicting lines.
Any ideas?
Thanks!
Original comment by 15mccl...@isd578.org
on 1 Apr 2013 at 3:07
Original issue reported on code.google.com by
hscharler@gmail.com
on 21 Oct 2011 at 5:46