Code:
#include <DS18B20.h>
DS18B20 ds1(15); //channel-1-DS18b20
void setup()
{
Serial.begin(115200);
}
void loop()
{
Serial.print("Temperature1:");
Serial.print(ds1.getTempC());
Serial.print(" C /");
delay(500);
}
A24 arduino demo source code-05-read DS18B20 temperature sensor
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
A24 arduino demo source code-05-read DS18B20 temperature sensor - by KinCony Support - 12-07-2023, 02:32 AM
|
Users browsing this thread: |
1 Guest(s) |