I am using esp32 and I want to blink the led using wifi through blynk app. The esp32 board connected to my mobile hotspot but when I open the blynk app and set the configurations. It is showing “Blink Wasn’t online yet”
the code I used is shown below
#define BLYNK_PRINT Serial
#include <BlynkSimpleEsp32.h>
// You should get Auth Token in the Blynk App.
char auth[] = "uhdDKK3G7vk4GzqsNLZik7cEQurNnZoq";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "yup";
char pass[] = "123456789";
int led = 33;
void setup()
{
// Debug console
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
pinMode(led, OUTPUT);
}
void loop()
{
Blynk.run();
}
I connected the esp32 to my mobile hotspot and i am using app from the same mobile.
I also tried connecting esp32 and mobile to a same wifi router. But it doesn’t work.
What else to do