Go to advanced search

by eltuxumuxu
Tue Dec 23, 2014 11:52 am
Forum: Python
Topic: Problem controlling a GPIO with Python
Replies: 3
Views: 747

Re: Problem controlling a GPIO with Python

Thank you, there was two problems: first was that, i had to set the setmode, and the second one, i had installed RPi.GPIO 0.1.0, when i uninstalled it, it worked like a charm. Thank you again!!
by eltuxumuxu
Mon Dec 22, 2014 8:34 pm
Forum: Python
Topic: Problem controlling a GPIO with Python
Replies: 3
Views: 747

Problem controlling a GPIO with Python

I have the Raspberry Pi B with Raspbian installed. Im trying to control the GPIO27 (number 13) with a script The script on.py says: import RPi.GPIO as GPIO GPIO.setup(13, GPIO.OUT) GPIO.output(13, True) and off.py says: import RPi.GPIO as GPIO GPIO.setup(13, GPIO.OUT) GPIO.output(13, False) The prob...

Go to advanced search