Skip to content

Instantly share code, notes, and snippets.

@hatsunea
Created July 6, 2022 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatsunea/9106e8b6bf4eb893f9d41936ba9c4e2a to your computer and use it in GitHub Desktop.
Save hatsunea/9106e8b6bf4eb893f9d41936ba9c4e2a to your computer and use it in GitHub Desktop.
delay(10);
WiFi.mode(WIFI_AP);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
hasWifi = false;
}
hasWifi = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment