Download this file
#ifndef TEMPERATURE_H
#define TEMPERATURE_H

#include 

class Temperature {
  public:
    Temperature();
    void start_reading();
    unsigned short get_value();

  private:
    OneWire ds; // Arduino pin 6 is JeeNode Port3 D
    bool initialized;
    uint32_t ready_time;
    uint8_t addr[8];
    uint8_t data[12];
};

#endif

// vim:ft=arduino