Chat freely about anything...

User avatar
By SvanteJ
#83881 Hi all!
I've flashed a simple sketch onto an ESP with FTDI bu settong GPIO0 to LOW and toggle CH/PD LOW-HIGH. The flashing works fine and after flashing sequense is done the program starts running on the ESP. The program:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, LOW);
delay(500);
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
}

makes the internal LED blink.

My problem is when i want to restart the program it doesent start and i dont know how to set the pins to make that work. Most setups on internet sets CH/PD high but this doesnt work for me.

Regards
SJ