Reading a Blynk Virtual Pin

The Blynk nomenclature is kind of confusing. When you want to remotely monitor the state of a widget on your phone (like a button) with your Arduino sketch, you use the callback function BLYNK_WRITE(vPIN)

int value;
BLYNK_WRITE(V7)
{
  value = param.asInt(); // Get value as integer
}

This callback gets called every time the widget changes state.

If you want to send a value from your Arduino code to a widget on your phone (like a Value Display), you call the function Blynk.virtualWrite(vPin, value)

Blynk.virtualWrite(V7, 123);