I'm having an issue getting the onewire library going on my Due. I have the nightly build of the of IDE 1.5.2, from http://downloads.arduino.cc/arduino-nightly-windows.zip, and the version 2.2 of the onewire library from OneWire Arduino Library, connecting 1-wire devices (DS18S20, etc) to Teensy.
However every time I try to compile the DS18x20_Temperature sketch I get this error:
Arduino: nightly (Windows 7), Board: "Arduino Due (Programming Port)"
In file included from DS18x20_Temperature.pde:1:
C:\Users\laptop\Documents\Arduino\libraries\OneWire/OneWire.h:77: error: #error "Please define I/O register types here"
C:\Users\laptop\Documents\Arduino\libraries\OneWire/OneWire.h:84: error: 'IO_REG_TYPE' does not name a type
C:\Users\laptop\Documents\Arduino\libraries\OneWire/OneWire.h:85: error: ISO C++ forbids declaration of 'IO_REG_TYPE' with no type
C:\Users\laptop\Documents\Arduino\libraries\OneWire/OneWire.h:85: error: expected ';' before '*' token
Any ideas? I'm using a Due in my project to have a much easier time running the display that I already have mounted in the control panel. I'm new to arduino but have done some programing in the past. This seem like a solvable problem, but there is a very steep learning curve in front of me to figure it out with no help.
Thanks