   if (OneWire::crc8(data, 8) != data[8])
     return EBADTEMP;
 
-  return (data[1] << 8 | data[0]) / 16.0;
+  return (data[1] << 8 | data[0]) / 16.0 + TEMP_CORRECTION;
 }
 
 void loop(void)

 * License: MIT, see file LICENSE
 *
 */
#include <OneWire.h>
#include <FineOffset.h>

# include <avr/sleep.h>
# include <avr/wdt.h>
# define TX_PIN 2
# define TEMP_PIN 0
# define LED_PIN 3

#define DEVICE_ID 202
#define EBADTEMP -999

OneWire ow(TEMP_PIN);
FineOffset tx(TX_PIN);


  digitalWrite(LED_PIN, LOW);

  // sleep 8 seconds * 30 loops = 240 sec = 4 min
  for (int i=0; i<30; i++)
    powerDown(WDTO_8S);
}
