Use gpioget from the gpiod package.
To read GPIOx with internal pull-up use:e.g.
For the Pi5 change gpiochip0 to gpiochip4.
To read GPIOx with internal pull-up use:
Code:
gpioget --bias=pull-up gpiochip0 x
Code:
$ gpioget --bias=pull-up gpiochip0 171
Statistics: Posted by warthog618 — Thu Mar 28, 2024 12:10 pm