Update 'DHT11toMYSQL.ino'

This commit is contained in:
2022-04-05 12:40:11 +02:00
parent 7b6430c7a6
commit 7d765eadca

View File

@@ -18,6 +18,7 @@ String PATH_NAME = "/search";
WiFiClient client;
void setup() {
//Initialize serial and wait for port to open:
Serial.begin(9600);
@@ -26,10 +27,11 @@ void setup() {
while ( status != WL_CONNECTED) {
Serial.print("Attempting to connect to Network named: ");
Serial.println(ssid); // print the network name (SSID);
// Connect to WPA/WPA2 network:
status = WiFi.begin(ssid, pass);
}
// print the SSID of the network you're attached to:
Serial.print("SSID: ");
Serial.println(WiFi.SSID());