Hi,
Can’t comment specifically on your code, but I have successfully tested a basic sketch that was developed in old Blynk onto new Blynk (Blynk2.0 - Web Dashboard - Map Widget Not Working)
I only had to make a few minor changes to the sketch:
- Add two new lines at the start of the sketch (these are generated in the dashboard when you create the template for your device)
#define BLYNK_TEMPLATE_ID "TMPLnnnnFDs"
#define BLYNK_DEVICE_NAME "LED Button"
- Added a new Auth Code (again generated when you add a new device).
Everything else worked as expected, including my WiFi connection code.
Sign up (you need a new Blynk 2.0 account) and experiment.
cul
billd