What purpose has V1 on WidgetBridge bridge1(V1)

What is the purpose of the virtual pin used on the following expresion from the bridge example :

WidgetBridge bridge1(V1)

what value is it going to have? what is it’s importance? do we actually need to use the bridge widget on the app ?

Since this setup is on the sender device, I believe it is required to have an available vPin (from the transmitters cache of vPins) assigned to it so as to have a link/conduit to the server for which to transmit whatever data/control you are sending to the receiving device

NOTE: this is NOT the same as the receivers vPin, of which you provide in the actual command.

The Documents pretty much show all this…

…as well as answering your last question…

image

I read everything there, but it was a bit unclear for me. I made it eventually! Thanks for your help!

1 Like