04-14-2023, 03:15 AM
(This post was last modified: 04-14-2023, 03:23 AM by KinCony Support.)
Code:
#include <DS18B20.h>
DS18B20 ds(14); //IO13
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.printf("Temperature: %.2f C\n",ds.getTempC());
delay(1000);
}