Hello I have been trying to configurate the GPIO’s as inputs , using this code ( I just show the main section).
*import Adafruit_BBIO.GPIO as GPIO.* *DOOR= "P9_15" * *GPIO.setup(DOOR, GPIO.IN)* *print ( “test”)* However, I get an error message. *Traceback (most recent call last):* *File "/var/lib/cloud9/examples/alarm.py", line 4, in <module>* *GPIO.setup(DOOR, GPIO.IN)* *ValueError: Set gpio mode failed, missing file or invalid permissions.* When I configurate the GPIO’s as outputs, I have not problem. I believe that probably I will need update the libraries of Adafruit( I don’t sure) Can someone please help me to find how solve this issue? I have reading the Adafruit libraries in Python and I believe that is possible for me to write the program to my application. I require to use the digital and analog inputs and outputs , send emails, and probably to use the LCD display. Thanks in advance Hugo -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7934690a-5e84-442d-98d5-6e43d317e834%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
