What is the PIND's relative reading on ESP32?

Hi all.
the Rotary encoder wired to Arduino pin 2/3, and used:
reading = PIND & 0xC; to get reading.
any relative similar reading available on ESP32?
Thanks
Adam

Its all in the data sheet

so for pin GPIO1

reading = GPIO_IN_REG & 0x01;

1 Like

Great!
Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.