Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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