Skip to main content

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.3.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

rpi_gpio_helper-2.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file rpi_gpio_helper-2.3.0.tar.gz.

File metadata

  • Download URL: rpi_gpio_helper-2.3.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for rpi_gpio_helper-2.3.0.tar.gz
Algorithm Hash digest
SHA256 a98bd7194a970c0aeb177935c7b4daa6765a9a03ae30bcb0d9b51a6487bdd878
MD5 4541da8cc5f7427066cc310dd765ed23
BLAKE2b-256 906090a524d0f6b3244eeb5dec9714dc6dadffd221f3998c5ea0c664cc321560

See more details on using hashes here.

File details

Details for the file rpi_gpio_helper-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rpi_gpio_helper-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe349603a7d924c3dc5b25b48dcc2db9b79a89cf091b054cedd2e2ff748941b
MD5 a02b9863acc1362fbcb53de030038c7c
BLAKE2b-256 7ec6c2f679accda06c11fa4f0ea8603f019908e7465516270ea642b3b298d91f

See more details on using hashes here.

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