ESP32-S2 GPIO46
Everything you need to use this pin correctly: status, alternate functions, boot-time cautions and working code.
| Status | Input only |
|---|---|
| Alternate functions | Strapping · fixed pull-down, input-only |
| Chip | ESP32-S2 pinout |
Watch out:
- Input-only pin: no output driver and no internal pull-up/pull-down resistor. Add your own pull resistor if you need one.
Practical notes
Strapping pin that is fixed pull-down and input-only. With GPIO0 it selects the boot mode and it also gates UART ROM printing. Do not count it as an available output.
Sample code
// Arduino — input-only pin
const int PIN = 46;
void setup() {
Serial.begin(115200);
pinMode(PIN, INPUT); // external pull resistor required
}
void loop() {
Serial.println(digitalRead(PIN));
delay(500);
}
Data verified:2026-10-20 · Cross-checked against Espressif documentation. Always confirm against the official datasheet before finalizing a design. Official docs →