08-11-2024, 07:27 PM
These commands should work on the 9 series. I'll update for upcoming 9.0.7 release
Code:
# Get the GPIO chip
CHIP=$(gpiodetect | awk '/pinctrl/ {print $1}')
# Set GPIO22 on/off (1/0)
gpioset $CHIP 22=1
gpioset $CHIP 22=0