wifi access point in esp8266

[ad_1]

wifi access point in esp8266
#include 

void setup()
{
  Serial.begin(115200);
  Serial.println();

  Serial.print("Setting soft-AP ... ");
  boolean result = WiFi.softAP("ESPsoftAP_01", "pass-to-soft-AP");
  if(result == true)
  {
    Serial.println("Ready");
  }
  else
  {
    Serial.println("Failed!");
  }
}

void loop()
{
  Serial.printf("Stations connected =
  delay(3000);
}

[ad_2]

Please follow and like us:
Content Protection by DMCA.com