RPi.GPIO

RPi.GPIO is a popular Python library used on Raspberry Pi platforms to control GPIO pins.

In addition to GPIO control, it is also used by many other libraries to query the Raspberry Pi hardware version as header pin layouts differed between certain versions. And, currently, it also provides some useful software PWM functionality on all GPIO pins.

As the UP board has a similar header pin layout to the Raspberry Pi 2, we have created a port of the RPi.GPIO library for UP. This allows many existing Python scripts developed for Raspberry Pi to be used on UP also.

More information about RPi.GPIO is available here: https://pypi.python.org/pypi/RPi.GPIO
(Note: version numbers are not quite in sync yet - something that will be resolved in the near future.)