Button + relay

Hello
I have a problem.
I have WEMOS mini + two relays. The problem is that when you start the disc starts one relay. And I have so that it can not give even one signal relay because I
have to control the gate. I set up the button on 0/1 and 1/0.

Hola.
I use Wemos mini + relays but I can’t understand the question and problem.

Paste your code and format it correctly.

``` cpp
CODE
```

Otherwise we can’t help or understand the issue.

After turning Wemos starts the relay is always the one which is in the picture.
Code base with blynk Standalone esp8266

Use another digital pin.some pins of wemos are high on start & check the wiring.

CODE:

#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “YourAuthToken”;

// Your WiFi credentials.
// Set password to “” for open networks.
char ssid[] = “YourNetworkName”;
char pass[] = “YourPassword”;

void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}

void loop()
{
Blynk.run();
}

Code:

[quote="tomixps, post:6, topic:9744"]
define BLYNK_PRINT Serial    // Comment this out to disable prints and save space

include 

include 

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
}

void loop()
{
  Blynk.run();
}
[/quote]

Your code is doing nothing :\ Im confused. Have you tried anything other than ask for help?

I tried to set the pin code on a permanent basis but did not work.

Please help.

Help yourself, read the comments in this thread and take action.

You can’t be helped by the Community if you have an invisible sketch.

I do not understand the answer. The code I put in the forum. I want to control relays, but all the time I run one relay after example. Restart WEMOS.