Update 'DHT11toMYSQL.ino'
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user