Last active
November 1, 2019 03:26
-
-
Save ttseng/95f5a0e63275c444cd4f536b1ad504b0 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
#include <WiFi.h> | |
const char* ssid = "YOURSSID"; | |
const char* password = "YOURPW"; | |
void setup() | |
{ | |
M5.begin(); | |
WiFi.disconnect(); | |
delay(1000); | |
M5.Lcd.println("START"); | |
WiFi.begin(ssid,password); | |
while (WiFi.status() != WL_CONNECTED) { | |
delay(300); | |
} | |
M5.Lcd.println("connected"); | |
M5.Lcd.println((WiFi.localIP())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment