// ESP32 TEST
#define BLYNK_TEMPLATE_ID "TMPL6r882F-SO"
#define BLYNK_TEMPLATE_NAME "ESP32 TEST 01"
#define BLYNK_AUTH_TOKEN "IJQv7_SL6VQGqBJVNJ4M9pqEshgpGpz3"
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
char ssid[] = "Wokwi-GUEST";
char pass[] = "";
BlynkTimer timer;
void setup()
{
Serial.begin(115200);
Serial.print("Connecting to WiFi");
WiFi.begin("Wokwi-GUEST", "", 6);
while (WiFi.status() != WL_CONNECTED) {
delay(100);
Serial.print(".");
}
Serial.println(" Connected!");
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);
}
void loop()
{
Blynk.run();
timer.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}
Loading
esp32-s2-devkitm-1
esp32-s2-devkitm-1