ESP8266 SmartConfig
Arduino Code
you can simply call beginSmartConfig() like this
WiFi.beginSmartConfig();
while(1){
delay(1000);
if(WiFi.smartConfigDone()){
Serial.println("SmartConfig Success");
break;
}
}
or the easier way is use library that support smartConfig function such as
WiFiConnector Arduino Library: https://github.com/cmmakerclub/WiFiConnector
</div> <div jsname="WJz9Hc" style="display:none">ESP8266 SmartConfig
Arduino Mã
bạn chỉ có thể gọi beginSmartConfig () như thế này
WiFi.beginSmartConfig ();
while (1) {
delay (1000);
if (WiFi.smartConfigDone ()) {
Serial.println ("SmartConfig thành công");
phá vỡ;
}
}
hoặc cách dễ dàng hơn là thư viện sử dụng có hỗ trợ chức năng như smartConfig
WiFiConnector Library Arduino: https://github.com/cmmakerclub/WiFiConnector</div> <div class="show-more-end">