Powering up the ESP8266 with RST already connected to GPIO16 also causes the board to constantly reset. I have tried the exact same code and wiring on two units and I am experiencing the same problem. I noticed some people also had this issue but never found a solution.
Am I doing something wrong or is there another issue at play here?
This is the code that was flashed to the unit using Arduino IDE.
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, LOW);
delay(5000);
digitalWrite(LED_BUILTIN, HIGH);
ESP.deepSleep(10e6); // 10 seconds
}
void loop() { }