arduino esp8266 tutorial code example
Example 1: esp8266 arduino
WiFi.begin("network-name", "pass-to-network");
Example 2: esp8266 arduino
Serial.printf("Wi-Fi mode set to WIFI_STA %s\n", WiFi.mode(WIFI_STA) ? "" : "Failed!");
WiFi.begin("network-name", "pass-to-network");
Serial.printf("Wi-Fi mode set to WIFI_STA %s\n", WiFi.mode(WIFI_STA) ? "" : "Failed!");