Created
February 15, 2018 10:44
-
-
Save diogopms/a2ce64459f949e6f723bbafd78d46d5f to your computer and use it in GitHub Desktop.
issue_wifi_esp32.ino
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 <Arduino.h> | |
#include <WiFi.h> | |
void setup() | |
{ | |
Serial.begin(9600); | |
delay(10); | |
Serial.print("Connecting"); | |
WiFi.begin("SSID", "PASSWORD"); | |
while (WiFi.status() != WL_CONNECTED) { | |
delay(100); | |
Serial.print("."); | |
} | |
Serial.println(""); | |
Serial.println("WiFi connected"); | |
Serial.println("IP address: "); | |
Serial.println(WiFi.localIP()); | |
} | |
void loop() | |
{ | |
delay(5000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment