 // Pass our oneWire reference to Dallas Temperature. 
 DallasTemperature sensors(&oneWire);
 
-// arrays to hold device addresses
-DeviceAddress heatThermometer, pipeThermometer,boilThermometer;
+// Device addresses
+DeviceAddress heatThermometer, pipeThermometer, boilThermometer;
+float         heatTemp,        pipeTemp,        boilTemp;
 
 
 void setup(void)
 {
   // start serial port
-  Serial.begin(9600);
-  Serial.println("Dallas Temperature IC Control Library Demo");
+  Serial.begin(57600);
+
 
   // Start up the library
   sensors.begin();
-
-  // locate devices on the bus
-  Serial.print("Locating devices...");
-  Serial.print("Found ");
-  Serial.print(sensors.getDeviceCount(), DEC);
-  Serial.println(" devices.");
-
-  // report parasite power requirements
-  Serial.print("Parasite power is: "); 
-  if (sensors.isParasitePowerMode()) Serial.println("ON");
-  else Serial.println("OFF");
 
   // assign address manually.  the addresses below will beed to be changed
   // to valid device addresses on your bus.  device address can be retrieved

#include "TimerOne.h"

// Data wire is plugged into port 2 on the Arduino
#define ONE_WIRE_BUS 7
#define TEMPERATURE_PRECISION 12

// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)

  sensors.setResolution(pipeThermometer, TEMPERATURE_PRECISION);
  sensors.setResolution(boilThermometer, TEMPERATURE_PRECISION);
  
  sensors.setWaitForConversion(false);
  
  Timer1.initialize(750000); 
  Timer1.attachInterrupt( timerIsr ); // attach the service routine here

}

void interruptTemperature (void) 
{

  heatTemp = sensors.getTempC(heatThermometer);
  pipeTemp = sensors.getTempC(pipeThermometer);  
  boilTemp = sensors.getTempC(boilThermometer);
  
  // call sensors.requestTemperatures() to issue a global temperature 
  // request to all devices on the bus
  sensors.requestTemperatures();
}

void timerIsr()
{ 
  interruptTemperature(); // get temperature data and request measure

}

void loop(void){


}
