Using virtual pin as button

Hi, Iā€™m making a project with blynk, I used for turning off and turning on some relays but now I got kind of confused with the using of virtual pins as button. Please help me :sob::sob::sob:

1 Like

Have you looked at the examples here:

And the documentation here:

And what exactly are you confused about?

1 Like

Iā€™m confused in the way I should declare it, I mean my OutPut because Iā€™m controlling a motor step by step for an elevator. So every button in the app means every floor.