Page 1 of 1

GPIO not working on esp32 pico D4

Posted: Thu Jul 05, 2018 7:45 pm
by dominik
I bought two esp32 pico D4 boards from https://www.elektor.com/esp32-pico-kit- ... m_store=de

Although I could program the board via platform.io and I get nice output on the serial console all GPIO pins seem to be broken. Regardless of what i write with digitalWrite I always have 0V on the pin. And if I configure the pin to INPUT_PULLUP I always get a 1 from digitalRead even if I connect to gnd.

The same code works perfectly fine on an other esp32 dev board.

Is there something special with the pico D4?

Dominik

Re: GPIO not working on esp32 pico D4

Posted: Fri Jul 06, 2018 7:58 am
by Agree007
My esp32 pico d4 board work fine using Arduino ide and esp-idf, but the logic is inverse, so I have to set the pin low to turn on the internal led.

Re: GPIO not working on esp32 pico D4

Posted: Sun Jul 08, 2018 7:34 am
by dominik
It's resolved. It was a stupid bug on my side. I used the pin no instead of the GPIO no to address the gpio pins. :x