access other gpio

If I need to access the other gpios, do I have to do it with the RPi.GPIO library using the traditional method?

GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(valvula, GPIO.OUT)

GPIO.output(5, GPIO.HIGH)

Thanks!

Sure. You can use the RPi.GPIO library for the other GPIOs.

1 Like