Thanks for the suggestion MeiT, but i figured how to install RPi.GPIO using this guide i found:http://blog.ghatasheh.com/2013/08/raspberry-pi-setting-up-python-and.html
Basically I did this:
1.
Synch the listing with the repositories
- CODE: SELECT ALL
pacman -Sy
2.
Install python
- CODE: SELECT ALL
pacman -S python
3.
Select gcc from the resulting list. (mine was no.10 on the list)
- CODE: SELECT ALL
pacman -S base-devel
4.
go to this web page https://pypi.python.org/pypi/RPi.GPIO, In the upper right hand corner, right click on the green button and copy link.
- CODE: SELECT ALL
wget https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.5.8.tar.gz
5.
unzip the tar
- CODE: SELECT ALL
tar -xvzf RPi.GPIO-0.5.8.tar.gz
6.
Install RPi.GPIO
- CODE: SELECT ALL
cd RPi.GPIO-0.5.8
python setup.py install
I checked that the install worked with a bread board with some LEDs on it using this simple script that turns on the LEDs:
- CODE: SELECT ALL
#!/usr/bin/python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(17,GPIO.OUT)
GPIO.setup(27,GPIO.OUT)
print ("Lights on, Brother!!)
GPIO.output(17,GPIO.HIGH)
GPIO.output(27,GPIO.HIGH)
Turn them off:
- CODE: SELECT ALL
#!/usr/bin/python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(17,GPIO.OUT)
GPIO.setup(27,GPIO.OUT)
print ("Lights off, MOTHERFUCKER!!!")
GPIO.output(17,GPIO.LOW)
GPIO.output(27,GPIO.LOW)
GPIO.cleanup()
Thanks to ACX for putting me on the right track.
from:http://www.runeaudio.com/forum/python-on-rune-audio-t636.html#p4267