 
 // Data wire is plugged into port 2 on the Arduino
 #define ONE_WIRE_BUS 2
-#define TEMPERATURE_PRECISION 12
+#define TEMPERATURE_PRECISION 10
 
 // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
 OneWire oneWire(ONE_WIRE_BUS);

#define SCAN_SENSORS
// read temperature sensors
#define READ_SENSORS

#ifdef DEBUG
 // http://arduiniana.org/libraries/streaming/

      Serial.println();
    }
  }
#else
  // set desired precision of the temperature sensors
  byte addr[8];
  for ( byte nSensor=0; nSensor<sensors.getDeviceCount(); ++nSensor) {
    if ( sensors.getAddress(addr, nSensor) ) {
      sensors.setResolution(addr, TEMPERATURE_PRECISION);
    }
  }
#endif // SCAN_SENSORS
}

int getRawTemperature(float temp) {
  switch (TEMPERATURE_PRECISION) {
    case 12:
      return (int)(temp / 0.0625);
    case 11:
      return (int)(temp / 0.125);
    case 10:
      return (int)(temp / 0.25);
    case 9:
      return (int)(temp / 0.5);
  }
  
  return 0;
}

/**
