#include <DS18B20.h> //DS18B20 and OneWire, need to be installed first DS18B20 ds(25); void setup() { Serial.begin(115200); } void loop() { while (ds.selectNext()) { Serial.println(ds.getTempC()); } }