By reading the ESP32 datasheet I figure that every single IO pin can be configured with a pull up or pull down resistor. Is this correct or I missing something here?
Also, can I somehow configure some gpio pins with interrupts? I'm using Arduino for ESP32 programming and I want to do interrupts like the INT0 or INT1 of the Arduino
PullUp / PullDown and Interrupts
Re: PullUp / PullDown and Interrupts
Not quite, GPIOs 34-39 are input-only *and* do not have internal pull-up or pull-down circuitry. This is mentioned in Appendix C.1 of the datasheet, Number 2 in the table.JohnKed wrote:By reading the ESP32 datasheet I figure that every single IO pin can be configured with a pull up or pull down resistor. Is this correct or I missing something here?
All other pins have internal software-configurable pull-ups and pull-downs.
As far as I know, the same attachInterrupt() API that is used on other Arduino MCUs can be used with ESP32. Any GPIO pin can be used for this purpose: https://www.arduino.cc/en/Reference/AttachInterruptJohnKed wrote:Also, can I somehow configure some gpio pins with interrupts? I'm using Arduino for ESP32 programming and I want to do interrupts like the INT0 or INT1 of the Arduino
If you have more questions about Arduino, please open a new thread in the dedicated Arduino subforum.
Who is online
Users browsing this forum: No registered users and 128 guests