Skip to main content

fakeRPiGPIO is a package to simulate the RPi.GPIO package

Project description

fakeRPiGPIO

PyPI version License: GPL v3

This package is used to simulate the RPi.GPIO module. This package only contains the functions in the RPi.GPIO package without the functionality. Useful to debug code outside the RPi. To avoid printing the function calls to the package, set VERBOSE to False:

from RPi import GPIO
GPIO.VERBOSE = False

more_code()

The following functions have minimal functionality without any error checking: setmode, getmode, gpio_function, setup, output, input, cleanup.

License

Python fake RPi.GPIO library Copyright (C) 2020 Luiz Eduardo Amaral luizamaral306@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Project details


Download files

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

Source Distribution

fakeRPiGPIO-1.0.0.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

fakeRPiGPIO-1.0.0-py3-none-any.whl (16.2 kB view hashes)

Uploaded 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