GPIO pins 16 and 26

Hi,

Is it possible to use GPIO pins 16 and 26 on Rock Pi 4 as input pins? I know we can select other pins but due to the configuration of our external interface we must use those two pins. We use mraa on Android 9 and we get “invalid pin specified” error when trying to use those pins as input

Pin 16, a GPIO pin, can be used as input pin.
Pin 26, an ADC_IN0 pin, can not be used as input pin.

Hi Stephen.

Can you please indicate how to use the GPIO pins as input ? I have been trying to use the libmraa pullup and pulldown instruction in python and do not see any positive results. The GPIO ports still outputting 3V even though I set it up as input. Can you please explain a good way to read a push button on a RockPi4 ?

Hi, I’m having this same problem and I can’t find a solution, as I can see I’m not the only one , but seeing that it happened to you almost a year ago, have you found any solution?