Lost connection to my esp-01
Posted: Sat Jun 27, 2020 12:57 pm
I was trying to get input from pin 1 (tx) on the esp-01 using in code: pinMode(1, INPUT). This didn't seem to get me anything. After some research, I found someone suggest there needed to be this under void setup(): pinMode(1, FUNCTION_3) to get the pin to stop trying to print to serial. Now, directly after compiling the code, it tries to connect to the board, but says there's no board to be found. Doesn't even try to upload anything.
Now I can't upload any code at all no matter what to this board. I even tried it on another, thinking I fried the board with my input wiring from the previous code attempt, and blocked that one out too. Interestingly, it will still run the program that was previously on it, I just can't connect to it and make changes. Thanks for the help!
Now I can't upload any code at all no matter what to this board. I even tried it on another, thinking I fried the board with my input wiring from the previous code attempt, and blocked that one out too. Interestingly, it will still run the program that was previously on it, I just can't connect to it and make changes. Thanks for the help!