Sending data from hardware to Blynk

Please read the Welcome Topic before posting unformatted code in the forum.

Then take a look at the Sketch Builder for a better way to poll a physical button and display it’s status.

Adjust for the pin # you are using (make sure it is the Arduino number that corresponds to your ESP’s GPIO pin… which will be labeled differently) and set your Widget to PUSH