Problem analog to virtual pin

Hello and Welcome.

First I edited your post to properly format the posted code are per the Welcome Topic that you may have missed?

As for your setup… It doesn’t make sense to me… are you using an Arduino (what type) with an ESP (what type) as a shield? Or are you running the ESP as standalone as your Sketch libraries indicate?

Also these pinouts just don’t make sense… they show as if you are using an ESP (possibly ESP-01) as a shield, but your connections are all wrong. e.g. GPIO0->GND puts the ESP into flash mode, good for loading in your sketch, but must be floating or HIGH for starting the sketch - and this is assuming running in Standalone mode (no Arduino).

And then, now assuming ESP as shield, why is your ESP’s RX->RX on Arduino’s programming port, as is the TX.TX? Normally it would be RX->TX and TX->RX, but NOT using the programming ports, instead using Software Serial ports… then you program the Arduino (with proper libraries), not the ESP, as the ESP just becomes a simple Serial to WiFi adapter (GPIO0 unused).

I think you need to clarify what you are trying to connect and how…

Check out these documents for both ESP modes…

http://help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-standalone

http://help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/esp8266-with-at-firmware