#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPL6G5_APatl"
#define BLYNK_TEMPLATE_NAME "diploma"
#define BLYNK_AUTH_TOKEN "d-_dveiK_cuLFHJVKIQIVrXjdWpvagAA"
#include <WiFi.h>
#include <SimpleWiFiClient.h>
#include <BlynkESP32_BT_WF.h>
char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "Tony123_5G@unifi";
char pw[] = "";
BLYNK_WRITE(V1){
digitalWrite(V1, param.asInt());
}
void setup() {
Blynk.begin(auth,ssid,pw,"blynk.cloud",80);
}
void loop() {
Blynk.run();
}