Skip to main content

RPi.GPIO wrapper with mocks for developmennt on any platform

Project description

raspi-gpio

RPi.GPIO and spidev wrapper with mocks for developmennt on any platform

Installation

pip install raspi-gpio

Usage

Replace

import RPi.GPIO as GPIO
from spidev import SpiDev

with

from raspi_gpio import GPIO, SpiDev

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

raspi_gpio-0.1.9.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

raspi_gpio-0.1.9-py3-none-any.whl (3.5 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