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
คุณก็สามารถโทร beginSmartConfig () เช่นนี้
WiFi.beginSmartConfig ();
ในขณะที่ (1) {
ความล่าช้า (1000)
ถ้า (WiFi.smartConfigDone ()) {
Serial.println ("SmartConfig ที่ประสบความสำเร็จ");
แบ่ง;
}
}
หรือวิธีที่ง่ายก็คือห้องสมุดการใช้งานที่สนับสนุนการทำงาน smartConfig เช่น
WiFiConnector Arduino ห้องสมุด https://github.com/cmmakerclub/WiFiConnector</div> <div class="show-more-end">