Skip to main content

A class to control Raspberry Pi GPIO channels

Project description

This package provides a class to control the GPIO 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.2a

  • Internal refactoring. Still completely untested!

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for RPi.GPIO-0.0.2a.tar.gz
Algorithm Hash digest
SHA256 a6945148fb83f68ef41c0b41401a7310691953bd85f8bac1d15b94f703791b88
MD5 0b1e344d6a2b5caaad84312aff02fe2e
BLAKE2b-256 4883c039f546d47ae079c75076ce18fd773109798c3fa1f7b3755e7d40c36a08

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