Update DHT_Unified_Sensor.ino

This commit is contained in:
V205Github 2023-07-07 19:02:40 -07:00 committed by GitHub
parent be6915c60d
commit ddb8923cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ void setup() {
// Initialize device. // Initialize device.
dht.begin(); dht.begin();
Serial.println(F("DHTxx Unified Sensor Example")); Serial.println(F("DHTxx Unified Sensor Example"));
Serial.println(F("Starting " __FILE__ " from " __DATE__ __TIME__));// Prints the file name.
// Print temperature sensor details. // Print temperature sensor details.
sensor_t sensor; sensor_t sensor;
dht.temperature().getSensor(&sensor); dht.temperature().getSensor(&sensor);