If you are running Bullseye on your Pi4, use the built in command raspi-gpio e.g.Also check out this for gpio https://pinout.xyz/
Code:
raspi-gpio get 21GPIO 21: level=0 fsel=0 func=INPUT pull=DOWN
Statistics: Posted by neilgl — Tue Jul 30, 2024 11:55 am