You don’t call the BLYNK_WRITE(Vpin)
function at all.
It’s triggered automatically whenever the value of the virtual datastream changes on the Blynk server.
If you want to know the current virtual datastream value then you should save it in a public variable so that you can reference it elsewhere in your sketch.
Also, you shouldn’t have anything in your void loop other than…
void loop()
{
Blynk.run();
timer.run();
}
Pete.