Created
March 5, 2020 13:42
-
-
Save vindolin/c0c4dc840e799e8c69b6690ce890193f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const IPAddress ip(192, 168, 178, 9); | |
const IPAddress router(192, 168, 178, 1); | |
void setup() { | |
WiFi.persistent(false); | |
WiFi.mode(WIFI_STA); | |
WiFi.config(ip, router, router); | |
WiFi.begin(SSID, PASSWORD); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment