Can't get GPIO0 to work as OUTPUT
Posted: Thu Mar 10, 2016 7:48 pm
Hello,
I am trying to get GPIO0 to work as an OUTPUT for 2 hours now. I am using an ESP-01 and I know that GPIO0 is pulled up to Vcc. So when I connect an LED from Vcc (+) to GPIO0 (-) it doesn't light up for some reason. I also measured the GPIO0 voltage when it should be 0 but it stays at 3.3V no matter what I do.
I tried it with the most basic code you could think of:
GPIO0 stays at 3.3V at all times.
I connected Vcc, CH_PD and RST directly to Vcc and GND to GND. I tried leaving Rx and Tx connected to my USB adapter and also disonnected. Same result.
What is going on here? Thanks!
I am trying to get GPIO0 to work as an OUTPUT for 2 hours now. I am using an ESP-01 and I know that GPIO0 is pulled up to Vcc. So when I connect an LED from Vcc (+) to GPIO0 (-) it doesn't light up for some reason. I also measured the GPIO0 voltage when it should be 0 but it stays at 3.3V no matter what I do.
I tried it with the most basic code you could think of:
Code: Select all
void setup() {
pinMode(0, OUTPUT);
}
void loop() {
digitalWrite(0, 0);
}
GPIO0 stays at 3.3V at all times.
I connected Vcc, CH_PD and RST directly to Vcc and GND to GND. I tried leaving Rx and Tx connected to my USB adapter and also disonnected. Same result.
What is going on here? Thanks!