I'm using Arduino with Blynk IoT and trying to continuously sync data from a datastream that's linked to a Label widget (e.g., V0). Since it's a Label, there's no user interaction, so BLYNK_WRITE(V0) doesn't get triggered automatically. I tried calling Blynk.syncVirtual(V0) inside BLYNK_WRITE(), but that caused an infinite loop. I also don’t want to put syncVirtual() inside loop() because I’m using delay() there, which prevents Blynk.run() from running properly and leads to disconnections. On top of that, I don’t want to use BlynkTimer either. Is there any other clever way to continuously sync data without blocking Blynk and without using timers?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.