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

Uploaded Python 2Python 3

File details

Details for the file rpi_gpio_emu-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: rpi_gpio_emu-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for rpi_gpio_emu-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 176caaa42112b31b57b49b10bb720cfa3d65d2a8759e550f2e5d37f102ecd5f5
MD5 73966d9adf0c6415c1cae2cd2e0b45e1
BLAKE2b-256 6c0d746b8acc85e46c8cfdb341a639008335639b58aa0443536e047a811baf89

See more details on using hashes here.

Supported by

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