Is it possible to migrate a Mega2560+ESP-01 project to Blynk2.0?
I am trying to compile, but get the error “BlynkEdgent.h:3:12: fatal error: user_interface.h: No such file or directory”. I believe this is because it want to communicate directly with ESP8266 and not to ESP-01 via serial interface.
If not possible, would Arduino 33 Nano IoT work, or is ESP32 best?
No, not really.
You can either directly reference the BLYNK_AUTH_TOKEN variable in your Blynk.begin command…
Blynk.begin(BLYNK_AUTH_TOKEN, wifi…
or you can leave the Blynk.begin(auth, wifi… code as it is, and change…
char auth[] = "your legacy auth token";
to…
char auth[] = BLYNK_AUTH_TOKEN;
If you’re referencing the Blynk legacy server url or IP address in your Blynk.begin command then you should stop doing that, or replace the url with blynk.cloud