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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rpi_gpio_emu-0.0.1-py2.py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 2 Python 3

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