raspberry-gpio-python Code
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
File | Date | Author | Commit |
---|---|---|---|
RPi | 2012-04-21 |
![]() |
[a8c83b] - Fixed direction bug |
.hgignore | 2012-02-06 |
![]() |
[752c9c] Initial version |
.hgtags | 2012-02-06 |
![]() |
[2f4b53] Added tag 0.0.2a for changeset d5667665c58f |
CHANGELOG.txt | 2012-04-21 |
![]() |
[a8c83b] - Fixed direction bug |
INSTALL.txt | 2012-04-21 |
![]() |
[a8c83b] - Fixed direction bug |
LICENCE.txt | 2012-02-06 |
![]() |
[752c9c] Initial version |
MANIFEST.in | 2012-04-21 |
![]() |
[a8c83b] - Fixed direction bug |
README.txt | 2012-04-21 |
![]() |
[a8c83b] - Fixed direction bug |
distribute_setup.py | 2012-02-06 |
![]() |
[752c9c] Initial version |
setup.py | 2012-04-21 |
![]() |
[a8c83b] - Fixed direction bug |
This package provides a class to control the GPIO on a Raspberry Pi. Note that this module is unsuitable for real-time or timing critical applications. Example Usage : :: import RPi.GPIO as GPIO # set up the GPIO channels - one input and one output GPIO.setup(11, GPIO.IN) GPIO.setup(12, GPIO.OUT) # input from pin 11 input_value = GPIO.input(11) # output to pin 12 GPIO.output(12, True)