Nodemcu+relay board state after boot -

• Hardware model : Nodemcu
• Android

void setup()
  // Debug console

  Blynk.begin(auth, ssid, pass);

  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);

void loop()

Hello i need help.
I configured blynk buttons to manage relay board but i have one problem.
After booting nodemcu gpio pins go low and turn on all relays.

Is there some simple command to make pins HIGH on boot to keep relays in neutral position on boot?

You’d be better-off using virtual pins in your widgets rather than digital pins. This type of issue is usually caused by the way that the Blynk library handles GPIO pins connected to digital pins.


Pete thanks for your replay.
I’m new in this kind of programing so it would be helpful if you share some example of code how to use virtual pin, or some link or tutorial.

Thanks in advance