Is there any way I can pass various virtual pins in one single command?
For example, if i have to LOW V1,V2,V3, then I have to write these 3 commands repeateadly
Blynk.virtualWrite(V1, LOW);
Blynk.virtualWrite(V2, LOW);
Blynk.virtualWrite(V3, LOW);
Is there any way I can pass single command instead of 3 different commands?
I may be wrong, but passing various Blynk.virtualWrite to ESP8266 hangs the network and it starts reconnecting.
I want to use it like this Blynk.virtualWrite(V1,V2,V3, LOW);
I tried this, but this doesn’t work as Blynk.virtualWrite passes single function. Is there any other way around?
Yes there may be an issue in code itself but in Blynk docs, it is stated that “Be careful sending a lot of Blynk.virtualWrite commands as most hardware is not very powerful (like ESP8266) so it may not handle many requests.”
and I am sending around 10-12 REQUEST in one push.
That’s why I came up with this idea of reducing the many virtualWrite commands into one. It saves the program size, looks neat but doesn’t work.