I got the library from
http://www.pjrc.com/teensy/td_libs_OneWire.html and can't tell if it is updated for the Arduino 1.0
I get the following errors
DallasOneWire2Sensor.cpp:3:21: error: OneWire.h: No such file or directory
In file included from DallasOneWire2Sensor.cpp:4:
C:\Users\User\Downloads\Arduino\arduino-1.0\libraries\DallasTemperature/DallasTemperature.h:62: error: expected `)' before '*' token
C:\Users\User\Downloads\Arduino\arduino-1.0\libraries\DallasTemperature/DallasTemperature.h:195: error: ISO C++ forbids declaration of 'OneWire' with no type
C:\Users\User\Downloads\Arduino\arduino-1.0\libraries\DallasTemperature/DallasTemperature.h:195: error: expected ';' before '*' token
DallasOneWire2Sensor:10: error: 'temperature' does not name a type
DallasOneWire2Sensor:14: error: 'oneWire' was not declared in this scope
This is from the code taken off of this site:
http://www.apress.com/9781430232407