How is your V0 datastream defined in the web dashboard?
I’m actually very surprised that your code was working well under Blynk Legacy, as you’re trying to use more GPIOs than the ESP8266 can really support, because many of the ESP8266’s pins behave in a way that is incompatible with what you appear to be trying to achieve. You should read this…