0

I'm using the MAX14830 as UART and GPIO extender. Got the UART working, but I'm confused on how to use the GPIO.

I notice there is a new entry in /sys/class/gpio (gpiochip496):

pi@raspberrypi:/sys/class/gpio $ ls 
export  gpiochip0  gpiochip128 gpiochip496  unexport

pi@raspberrypi:/sys/class/gpio $ cat gpiochip496/label 
MAX14830

But now what? What number does the GPIO have? Is it controllable via commandline and/or in python RPi.GPIO?

Thanks!

0

Fixed using libgpiod, as explained here: https://www.acmesystems.it/libgpiod

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.