Virtual pins BLYNK_WRITE()

Hello everybody!
I am using virtual pins in my project because they allow me better control flexibility.
I am controlling around 34 digital pins
Using the BLNYK_WRITE () function I have no problem controlling the pins but I see that the function requires that I specify the virtual pin from which it gets the specified value through param.asInt (). If I wanted to control all the pins I should write the same code 34 times specifying each of the virtual pins but I don’t want my code to be very long, then my question would be: is there any way that the BLYNK_ WRITE () function can detect that Virtual pin was activated and what value did it send without having to specify that it will expect values from a specific virtual pin? Thank you so much !

Read this:

Pete.

1 Like