RPi.GPIO Helper Library.
Project description
RPi_GPIO_Helper
RPi.GPIO Helper Library.
https://pypi.org/project/RPi-GPIO-Helper/
github
https://github.com/taogya/RPi_GPIO_Helper
Installation
pip install RPi-GPIO-Helper
Usage
# GPIO is used in same way as RPi.GPIO.
from RPi_GPIO_Helper import GPIO, Pin
out_pin = Pin(23, GPIO.OUT, initial=GPIO.LOW)
out_pin.output(True) # or out_pin.output(GPIO.HIGH)
# out_pin.cleanup()
in_pin = Pin(24, GPIO.IN, pull_up_down=GPIO.PUD_UP)
ret = in_pin.input()
# in_pin.cleanup()
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
rpi_gpio_helper-2.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file rpi_gpio_helper-2.1.0.tar.gz
.
File metadata
- Download URL: rpi_gpio_helper-2.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba5de61672664fc23f23f568353dadfb32d1306caf4b6f1781b08f85075d4b2 |
|
MD5 | 954690c73c8ad9099c050e78f34bf495 |
|
BLAKE2b-256 | a3847a30dedfa82004c16536a960c90816f9dd8efbde4c7a1c87096f1b5e3889 |
File details
Details for the file rpi_gpio_helper-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: rpi_gpio_helper-2.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c363c51b2f269722b641b4c7b68d7aa06e3b5f2d6273f90d50651bcfee5f3ab |
|
MD5 | 20c9ae31948ef93f195c5e023777266b |
|
BLAKE2b-256 | ecb0aaf704bc76fb36daf0301df24815b6aa8f4bc40f41388365498185957f22 |