Tested it for all GPIOs that can be a DI. Works for all of them but not for GPIO34 ... GPIO39.
They work as input but get not pulled up. Same with INPUT_PULLDOWN.
These input-only pins don't have PU/PD circuits.
OK, thanks for the information.
Then it's time for me to start soldering ...
Wouldn't this be something worth putting in the manual?
Bit annoying to only find this out by searching once the pin fails to work as expected.
Good idea. Will put it into my ESP32 WiKi
Ups, already there: Reserved GPIO鈥橲
I've always found it anoying that this issue is not CLEAR from the start of development. WHY are these pins even CALLED 'GPIO's, then later found to be 'INPUT ONLY'? In my opinion, these pins should have been labelled 'GPI', since 'GPIO' actually MEANS 'General Purpose Input/OUTPUT'. If the documentation lists most pins as 'GPIO#', then lists four pins as 'GPI#', it's clear to the designer that these pins are different, WITHOUT digging through document details.
Hello,
As I understand, all of the esp32 GPIO pins have internal pull-up & pull-down resistors, except GPIO 34 tell GPIO 39.
Is that correct? If yes, then how can I use these internal pull-up/down resistors? maybe like this (not sure) :
pinMode(pinNumber, INPUT_PULLUP); or pinMode(pinNumber, INPUT_PULLDOWN);
Thanks in advance ;)
Most helpful comment
I've always found it anoying that this issue is not CLEAR from the start of development. WHY are these pins even CALLED 'GPIO's, then later found to be 'INPUT ONLY'? In my opinion, these pins should have been labelled 'GPI', since 'GPIO' actually MEANS 'General Purpose Input/OUTPUT'. If the documentation lists most pins as 'GPIO#', then lists four pins as 'GPI#', it's clear to the designer that these pins are different, WITHOUT digging through document details.