Simple encapsulation library for DallasTemperature library, used for hiding OneWire and global variables.
#include <DallasSensor.h>
void setup()
{
Serial.begin(9600);
Dallas.begin(13); // 13 => data pin
Dallas.printInfo();
}
void loop()
{
Dallas.readTemperatures();
Serial.println("Temperature: " + String(Dallas.getTemperature(0))); // 0 => index of the first sensor
delay(60000);
}