#include <WiFi.h>
const char* ssid = "Wokwi-GUEST";
const char* pass = "";
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.print("Iniciando conexçao com ");
Serial.println(ssid);
WiFi.begin(ssid, pass);
while(WiFi.status() != WL_CONNECTED) {
Serial.print('.');
delay(500);
}
Serial.println();
Serial.println("Conexão bem sucedida!");
Serial.print("Ip local: ");Serial.println(WiFi.localIP().toString());
Serial.print("MAC: ");Serial.println(WiFi.macAddress());
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}