Use of rpi.gpio in ubuntu mate

raspi-gpio is pre-installed, so it should work out of the box.

One way to interface with the GPIO is with python:

>>> import RPi.GPIO as GPIO

For example:

>>> GPIO.setup(18, GPIO.OUT)
>>> GPIO.output(18, False)

1 Like