Update main.cpp

This commit is contained in:
TRN 2024-04-28 11:29:48 +03:00 committed by GitHub
parent cca62e9e82
commit 311314bac2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,14 +8,14 @@
#define dhtPin 2 // define dht connected pin
#define dhtType DHTesp::DHT11 // Define dht sensor type
const char *ssid = "TRN-2.4G"; // Wifi SSID
const char *password = "TRN.QWED303"; // Wifi Password
const char *ssid = ""; // Wifi SSID
const char *password = ""; // Wifi Password
const long utcOffsetInSeconds = 10800; // Set your timezone 1 hour = 3600 second
bool executed = false;
bool Fahrenheit = false; // If you want change temperature unit to Fahrenheit set true
const char *ntpServerUrl = "2.tr.pool.ntp.org"; // Set npt server url
const char *ntpServerUrl = "pool.ntp.org"; // Set npt server url
// https://www.ntppool.org/en/
DHTesp dht;
@ -103,4 +103,4 @@ void ringBuzzer() // This function activates the buzzer only once per hour
{
executed = false;
}
}
}