esp32_gpio_read
Read the mode and digital level of a single GPIO pin on an ESP32 board, restricted to firmware allow-listed pins.
Instructions
Read the mode and digital level of one GPIO pin. Only pins in the firmware allow list can be read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | GPIO number, for example 2. |