Skip to main content

Advanced GPIO for the Raspberry Pi. Extends RPi.GPIO with GPIO interrups, TCP socket interrupts, a command line tool and more

Project description

RPIO is an advanced GPIO module for the Raspberry Pi.

  • GPIO input and output (drop-in replacement for RPi.GPIO)
  • GPIO interrupts (callbacks when events occur on input gpios)
  • TCP socket interrupts (callbacks when tcp socket clients send data)
  • PWM via DMA (up to 1µs resolution; 500kHz)
  • Command-line tools rpio and rpio-curses
  • Well documented, fast source code with minimal CPU usage
  • Open source (GPLv3+)

Visit pythonhosted.org/RPIO for the documentation.

Installation

The easiest way to install/update RPIO on a Raspberry Pi is with either easy_install or pip:

$ sudo apt-get install python-setuptools
$ sudo easy_install -U RPIO

After the installation you can use import RPIO as well as the command-line tools rpio and rpio-curses.

Examples

You can find lots of examples inside the documentation, as well as in the /examples/ source directory.

Feedback

Please send feedback and ideas to chris@linuxuser.at, and open an issue at Github if you’ve encountered a bug.

License

RPIO is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

RPIO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for RPIO, version 0.9.2
Filename, size File type Python version Upload date Hashes
Filename, size RPIO-0.9.2-py2.6-linux-armv6l.egg (67.0 kB) File type Egg Python version 2.6 Upload date Hashes View hashes
Filename, size RPIO-0.9.2-py2.7-linux-armv6l.egg (66.9 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size RPIO-0.9.2-py3.2-linux-armv6l.egg (68.8 kB) File type Egg Python version 3.2 Upload date Hashes View hashes
Filename, size RPIO-0.9.2.tar.gz (36.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page