17 #ifndef _TEMPERATURE_SENSOR_H_
18 #define _TEMPERATURE_SENSOR_H_
21 #include <DallasTemperature.h>
34 DallasTemperature sensors_;
wrapper for Dallas one-wire temperature sensor (DS18B20)
void begin()
Initialise all one wire sensors.
uint8_t device_count()
Get count of total sensors on the one wire bus.
float read()
Read temperature as float value from sensor.
TemperatureSensor(int pin)
Construct a new TemperatureSensor.