Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino source code for KC868-1U]-01_DS18B20
#1
[Arduino source code for KC868-1U]-01_DS18B20
Code:
#include <DS18B20.h>

DS18B20 ds1(14); 
void setup() {
  Serial.begin(115200);

}
void loop() {
      Serial.printf("Tem1 is %.2f C \n ",ds1.getTempC());
}
Reply


Messages In This Thread
[Arduino source code for KC868-1U]-01_DS18B20 - by KinCony Support - 06-21-2023, 05:19 AM

Forum Jump:


Users browsing this thread: