 #include <OneWire.h>
 #include <DallasTemperature.h>
 
-
+// Digital pin that sensor is connected to
 #define ONE_WIRE_BUS 4
 
 

// Pass our oneWire reference to Dallas Temperature. 
DallasTemperature sensors(&oneWire);

DeviceAddress tempDeviceAddress;

int  resolution = 12;
unsigned long lastTempRequest = 0;
int  delayInMillis = 0;
float temperature = 0.0;
int  idle = 0;

void setup(void)
{

  sensors.getAddress(tempDeviceAddress, 0);
  sensors.setResolution(tempDeviceAddress, resolution);
  
  // This is the library function that disables needing to hold the pin state
  sensors.setWaitForConversion(false);
  
  sensors.requestTemperatures();
  delayInMillis = 750 / (1 << (12 - resolution)); 
  lastTempRequest = millis(); 
