Dear Blynk Team
i am not new on Blynk but yes i am new in Blynk 2.0 i have using Blynk Legency no issue it will work perfect more than 1year.ago now i am planing to shifting Blynk 2.0 but i have issue Blynk 2.0 after 2 and 3days always goes offline i need to reset the device then it will come back to online
and at the same place i keep two esp32 for testing 1is Blynk Legency other one is Blynk 2.0 blynk Legency is no problem at all time it will working perfect blynk 2.0 having issue after 2 & 3 days goes ofline
can anyone give me solution please i appreciate it
i hope you Hear me soon
Best Regards
Maaz
// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLEXxvKAa_"
#define BLYNK_DEVICE_NAME "maaz"
#define BLYNK_FIRMWARE_VERSION "0.1.0"
#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG
#define APP_DEBUG
// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD
#include "BlynkEdgent.h"
int botton = 6;
BLYNK_WRITE(V0){
int pinValue = param.asInt();
Serial.println(pinValue);
}
void setup()
{ pinMode(botton, OUTPUT);
Serial.begin(115200);
delay(100);
BlynkEdgent.begin();
}
void loop() {
BlynkEdgent.run();
}