Blynk-ser.sh start arduno pin high :(

I use arduino by usb, in armbian, when running the blynk-ser.sh script, gpio is set to high. This only happens when the blynk-ser.sh script is run.

How to prevent my relay from turning on when the script loads?

void setup()
{
DebugSerial.begin(9600);

pinMode(7, OUTPUT);
digitalWrite(7, LOW);

Serial.begin(9600);
Blynk.begin(Serial, auth);

It does not help…

Have you tried moving the digitalWrite so that it’s immediately after the Blynk.begin command?

Pete.

The same thing happens. Start on high.

Serial.begin(9600);
Blynk.begin(Serial, auth);
pinMode(7, OUTPUT);
digitalWrite(7, LOW);

if you change the input to output
pinMode(7, INPUT);
In this case, short-term activation occurs.

It is very simple but I can not figure it out :frowning:

This happens after the start of Blynk-ser.sh, maybe need to change something in it …