Salve, ho una ESP32 con cui mi collego ed ho provato ha scaricarci già un software semplice di prova, che fa lampeggiare un led. Volevo provare a fare due cose:
- collegarmi alla WIFI di casa e
- usare il Webserver
Per 1) ho visto un po' su internet e cercato le librerie per esp32, ma non mi si collega. Allego l'ultimo programma che ho provato, non so dove è l'errore:
#include <WiFi.h>
/*Put your SSID & Password*/
const char* ssid = "TP-Link_8CFE"; // Enter SSID here
const char* password = "xxxxxxxxxx"; //Enter Password here
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
//check wi-fi is connected to wi-fi network
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.print(".");
}
delay(100);
Serial.println("Connecting to ");
Serial.println(WiFi.localIP());
}
void loop() {
// put your main code here, to run repeatedly:
}
Poi resta il problema del Web server, se potete indicarmi le due librerie giuste, di quelle scaricate forse non ho saputo usarle. Grazie