Blynk 2.0 Digital pin to Virtual pin

You need a pinMode statement in your void setup for your realy_1 pin.

Also, the Edgent examples have a series of #defines which are commented-out, and which should be used to select the type of board you are using.
If you don’t un-comment one of them, or delete them as you seem to have done, then the custom board configuration, defined in the settings.h tab of the sketch, is used instead. You need to check that the pin you are using for your relay doesn’t conflict with pins already declared in that part of the sketch.

Also, if you’re using an ESP8266 (something you haven’t bothered to share) then GPIO16 probably isn’t the best choice of pin…

Pete.