Created
June 9, 2021 15:15
-
-
Save tassioauad/c5dafc7c66ae711d5dde56b76090c93b 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 = "MEUWIFI"; | |
const char* password = "SENHA"; | |
WiFiClient espClient; | |
void setup() { | |
Serial.begin(9600); | |
Serial.print("Conectando ao WiFi... "); | |
WiFi.begin(ssid, password); | |
while (WiFi.status() != WL_CONNECTED) { | |
delay(500); | |
Serial.print("."); | |
} | |
Serial.println("WiFi conectado!"); | |
Serial.println("Endereço IP: "); | |
Serial.println(WiFi.localIP()); | |
} | |
void loop() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment