To compile under version 1.0 of the IDE:
Change the includes at the start of
OneWire.cpp to be:
#include "OneWire.h"
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
extern "C" {
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
}
Change the includes at the start of
DallasTemperature.cpp to be:
#include "DallasTemperature.h"
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
Then it should compile OK.