Inputs (ESP32)¶
Blocks in toolbox order:
- Digital Input (GPIO)
- Digital Input (GPIO) Initialization
- Analog Input (ADC)
- Analog Input (ADC) — Voltage
- Capacitive touch (Touch)
- Interrupt on pin (IRQ)
- Disable interrupt on pin
- pin number
- Initialize PCF8574
- PCF8574 pin reading
- read all PCF8574 port
More boards and built-in peripherals¶
- Digital and analog pin selection by board
- ESP32-C3, ESP32-S3, ESP8266, RP2040 and Simulator Analog Inputs
- Capacitive Touch ESP32-S3
- ESP:BIT and Pico:ed Buttons
Practical principles¶
- Always configure the input pins consciously (pull-up/pull-down depending on the connection).
- For interrupts, keep the handler short and don't use long blocking operations in it.
- For analog readings, use filtering (average/hysteresis) for stable results.