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
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.2.1.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file rpi_gpio_helper-2.2.1.tar.gz
.
File metadata
- Download URL: rpi_gpio_helper-2.2.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e93884454731366ce6fb6c4bec20511dc021e8e95e42e8c29ad1dc2aba25ce20 |
|
MD5 | d4fe1b4df7506f7933b2a19881846c04 |
|
BLAKE2b-256 | 526d2e7e159ec5c3fa7f492aaf50fa7b38b4695ec4ccfa93ab5e184311ec84a8 |
File details
Details for the file rpi_gpio_helper-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: rpi_gpio_helper-2.2.1-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.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6effa6508d0b57a6986d986ef00c8c3e9f4b5496b877d7ada956ba5bc5eb4731 |
|
MD5 | 76e55d4c027f0e2d511d37b2426b36b2 |
|
BLAKE2b-256 | 304e675fa9ad96284e5b4366d468a474a5f3e3031491a1bdecc77fdbedf12944 |