Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
Temperature.cpp
Temperature.h
keywords.txt

README.md

Temperature library for Arduino

This library makes it easy to get the temperature from one-wire temperature sensors. I created this library to minimize the amount of code needed to get a basic temperature reading from the sensor.

Basic usage:

    #include <Temperature.h>
    #include <OneWire.h> 

    int SENSOR_PIN = 3;
    OneWire ds(SENSOR_PIN);

    Temperature temp;
    float temperature = temp.getTemp(ds);