Skip to main content

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

Project description

RPIO is an advanced GPIO module for the Raspberry Pi.

  • PWM via DMA (up to 1us resolution)

  • 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)

  • Command-line tools rpio and rpio-curses

  • Well documented, fast source code with minimal CPU usage

  • Open source (LGPLv3+)

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.

Debian packages are available at metachris.github.com/rpio/download.

An Arch Linux PKGBUILD is available at aur.archlinux.org/packages/rpio.

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

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

This program 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 Lesser General Public License for more details at <http://www.gnu.org/licenses/lgpl-3.0-standalone.html>

Special Thanks

csegit, waveform80, nils-werner, friedcell, zejn, dbeal, paul-1

Changes

Please refer to the ‘Changes’ section in the documentation.

Project details


Release history Release notifications | RSS feed

This version

0.11

Download files

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

Source Distribution

tingbot-RPIO-0.11.tar.gz (38.9 kB view details)

Uploaded Source

File details

Details for the file tingbot-RPIO-0.11.tar.gz.

File metadata

  • Download URL: tingbot-RPIO-0.11.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tingbot-RPIO-0.11.tar.gz
Algorithm Hash digest
SHA256 71a7e0d1314b4b9c71fdb04dc6c892173a70cb57d393364979b8c8ed47cd8cfa
MD5 a24e3d56ef93ebb34cb22454b9f43403
BLAKE2b-256 5d253e11351f10923e639e4bb5742a2f213f08579a0d6a7cd21100b5a2bd7345

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page