#include <OneWire.h>#include <DallasTemperature.h>OneWire oneWire(D2); //Connect to D2DallasTemperature sensors(&oneWire);void setup(void){ Serial.begin(115200); Serial.println("Dallas Temperature IC DS18B20"); sensors.begin();}void loop(void){ Serial.print(" Requesting temperatures..."); sensors.requestTemperatures(); // Send the command to get temperatures Serial.println("DONE"); Serial.print("Temperature is: "); Serial.print(sensors.getTempCByIndex(0)); Serial.println(" Degrees C"); Serial.print("Temperature is: "); Serial.print(sensors.getTempFByIndex(0)); Serial.println(" Degrees F");}