Virtual Pin, problem

Hello,
sorry for the mistakes … Google Translator …
I just can not understand how the virtual pin …
I have to check a digital input (status ON - OFF) Arduino UNO and view the status of this input via LED widget (switched off LOW) but I can not. About inserting a simple sketch to explain the virtual pin mechanism?

Hello. We have a lot of examples.
The simplest way would be to change this sketch. All you have to do instead of

Blynk.virtualWrite(V5, millis() / 1000);

read digital pin you want and send value.

Blynk.virtualWrite(V5, digitalRead(1));

don’t forget to set pin mode for this pin it in code.