diff --git a/DHT11toMYSQL.ino b/DHT11toMYSQL.ino index 4e74d4c..e054ff2 100644 --- a/DHT11toMYSQL.ino +++ b/DHT11toMYSQL.ino @@ -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());