Hi Andrew, thanks for replying
I tried using mypin.direction = Out but I get another runtime error.
The traceback is:
Traceback (most recent call last):
File "/home/pi/Desktop/SelectorKeypadTest.py", line 31, in <module>
mypin.direction=Out
File "/usr/bin/quick2wire/gpio.py", line 151, in direction
self._write("direction", new_value)
File "/usr/bin/quick2wire/gpio.py", line 192, in _write
with open(self._pin_path(filename), "w+") as f:
IOError: [Errno 2] No such file or directory: '/sys/devices/virtual/gpio/gpio24/direction'
I'm
a bit lost at this point. My system does not have a gpio24 directory
in the /sys/devices/virtual/gpio directory. (The only directory in gpio
is called gpiochip0, and it does not contain a file called direction.)
Bob