Skip to main content

A class to control Raspberry Pi GPIO lines

Project description

This package provides a class to control the GPIO lines on a Raspberry Pi.

Example Usage :

import RPi.GPIO
gpio = RPi.GPIO.GPIO()

# set up the GPIO lines
gpio.setup(0, RPi.GPIO.IN)
gpio.setup(1, RPi.GPIO.OUT)

# input from channel 0
input_value = gpio.input(0)

# output to channel 1
gpio.output(1, True)

Change Log

0.0.1a

  • First version. Completely untested until I can get hold of a Raspberry Pi!

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

Uploaded Source

File details

Details for the file RPi.GPIO-0.0.1a.tar.gz.

File metadata

  • Download URL: RPi.GPIO-0.0.1a.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for RPi.GPIO-0.0.1a.tar.gz
Algorithm Hash digest
SHA256 e7ecec647f310a9bbeaaffafc2c34c3398ac608658c106908cb40856438f0d5a
MD5 512e8fba7c15289e5e3a5fd48c8824c2
BLAKE2b-256 ddaa26b6fbda0e6959a09c2518ce7ab7d21a7c81b40f673bb6bf04cc4b7753de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page