Skip to main content

Placeholder package to emulate RPi.GPIO package on non-Pi devices

Project description

This package provides placeholders to emulate the RPi.GPIO package functions on other devices.

The expected output from the functions “input”, “getmode”, “event_detected”, and the delay time in seconds for “wait_for_edge” can be set using the “out” keyword argument. The output for these functions is random otherwise, except for “wait_for_edge” which is 1 second.

The remaining functions “add_event_callback”, “add_event_detect”, “cleanup”, “getmode”, “gpio_function”, “output”, “remove_event_detect”, “setmode”, “setup”, and “setwarnings” do nothing.

For examples and documentation of RPi.GPIO, visit http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/

Project page: https://github.com/aharshac/rpi-gpio-emu

Change Log

0.0.1

  • Based on RPi.GPIO 0.6.5

Project details


Release history Release notifications

This version

0.0.1

Download files

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

Files for rpi-gpio-emu, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size rpi_gpio_emu-0.0.1-py2.py3-none-any.whl (3.9 kB) File type Wheel Python version py2.py3 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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page