Show Posts
Pages: [1]
1  Products / Arduino Due / Re: OneWire in Due on: February 03, 2013, 12:03:08 am
I'm using the ADK2012 device (with the google-provided IDE), which is very similar to an Arduino Due. When I include the pre-release 2.2 version linked above into a project and compile, I get errors like this:

Code:
OneWire.cpp: In constructor 'OneWire::OneWire(uint8_t)':
OneWire.cpp:123: error: base operand of '->' has non-pointer type 'const PinDescription'
OneWire.cpp:124: error: base operand of '->' has non-pointer type 'const PinDescription'

Removing the 2 lines it's complaining about allows it to compile, but unsurprisingly, it doesn't actually work.

I'm new enough to all this that I don't have a good handle on how to get started debugging this. Any ideas?

(I asked this on stackoverflow too: http://stackoverflow.com/q/14669607/114917)
Pages: [1]