4-2 GPIO Input Control
PANDORA DEVELOPER GUIDE · CHAPTER 04
1. Confirm GPIO Number:
gpiofind PQ.05
2. Output message:
gpiochip0 105
3. Read Button Status:
gpioget `gpiofind "PQ.05"`
Summary
Using libgpiod tools, the GPIO number can be checked using the gpiofind command, and the GPIO status can be obtained using gpioget.
Adapted from the original YUAN Developer Hub article. Source ID: 280.