void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);
}
Relay is connected to 5V
ESP-01 to 3.3V throw AM1117
after turning on LED on the Relay does not blink but is all time on.
Where is mistake?
Why my simple example does not work?