Read XIAO ESP32-C3 boot button state

Continuing the discussion from ESP32 read GPIO0 button:

Hi there!
guys please help me, I have XIAO ESP32C3 and the problem the same.
I cannot read the 'boot' button (gpio 0) state. The config for the pin is next: pinMode(0, INPUT_PULLUP);

The digitalRead(0) is always 1, even when I'm clicking the button

Boot is usually GPIO 9 on the ESP32C3 boards.

that works! thanks!

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