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.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file rpi_gpio_helper-2.2.0.tar.gz
.
File metadata
- Download URL: rpi_gpio_helper-2.2.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.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706b19c37d3cff47734829260e656a3d503d7f1399ae2d0b27d88fbf28077581 |
|
MD5 | b2448a78b598c08c91712a215eaf80d1 |
|
BLAKE2b-256 | 63c5f8f91801c314b7259519abd00129446ddeb1599077165e7641704b2eecc9 |
File details
Details for the file rpi_gpio_helper-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: rpi_gpio_helper-2.2.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.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fdd4ccdb2dd080e61fc1fec4002f9ae1a5fdba0e80f600f89a0ea71dd1292ea |
|
MD5 | 5b4ccb6196c574ba32512921a32716b8 |
|
BLAKE2b-256 | 5956966ef35a77430a3333a4abd81a2cad4ae9fefc7a1037df00c95ab4a6731c |