Button Wedget and Physical button

My Project has Button Widget and physical button attached to hardware

Button Widget connected to virtual pin V1

BLYNK_WRITE(V1) {

}

Even thought press Button widget or physical button, the operation is same

Can I call to the BLYNK_WRITE(V1) function passing with parameter when I press physical button

Please advice

No.
BLYNK_WRITE(vPin) is a special callback function that is triggered by the library when the value of the widget changes on the server, or whne a Blynk.syncVirtual(vPin) call is made.

I don’t understand what you mean by this.

Have you looked at the Sync Physical Button example in the sketch builder?..

Pete.

1 Like

Your reply answered my question