Home / ESP32-H2 / GPIO8

ESP32-H2 GPIO8

Everything you need to use this pin correctly: status, alternate functions, boot-time cautions and working code.

StatusUsable
Alternate functionsStrapping (boot mode)RTC GPIO
ChipESP32-H2 pinout
Watch out:
  • Strapping pin: its level is latched at power-up to configure boot behaviour. Do not attach anything that changes its reset state.

Practical notes

Strapping pin that pairs with GPIO9 to select the boot mode; it is also an RTC GPIO able to wake the chip from deep sleep. Floats by default. A good choice for a wake button.

Sample code

// Arduino
const int PIN = 8;

void setup() {
  pinMode(PIN, OUTPUT);
}

void loop() {
  digitalWrite(PIN, HIGH);
  delay(500);
  digitalWrite(PIN, LOW);
  delay(500);
}
Data verified:2026-10-20 · Cross-checked against Espressif documentation. Always confirm against the official datasheet before finalizing a design. Official docs →

Related