Need help with virtual pins

Need help
i cannot use virtual pin except V0,V1 for this code, i am using ESP32 Dev kit V1

[Unformatted code removed by moderator]

@PC_Jaleel please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:


Did you define virtual pin like that ?

#define VPIN_BUTTON_0    V0 
#define VPIN_BUTTON_1    V1
#define VPIN_BUTTON_2    V2
#define VPIN_BUTTON_3    V3

Why don’t use usual code ?

Blynk.virtualWrite(V5, relay1State);