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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for rpi_gpio_emu-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 176caaa42112b31b57b49b10bb720cfa3d65d2a8759e550f2e5d37f102ecd5f5 |
|
MD5 | 73966d9adf0c6415c1cae2cd2e0b45e1 |
|
BLAKE2b-256 | 6c0d746b8acc85e46c8cfdb341a639008335639b58aa0443536e047a811baf89 |