Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi ~/rpi-eidlock $ sudo python test.py &
- [1] 2695
- pi@raspberrypi ~/rpi-eidlock $ [('Dell keyboard SK-3106 00 00', 66082, [])]
- avan ukse
- Sesame joined
- Cleaning up
- [('Dell keyboard SK-3106 00 00', 131090, [])]
- [('Dell keyboard SK-3106 00 00', 197154, [])]
- avan ukse
- Exception in thread Thread-4:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
- self.run()
- File "test.py", line 37, in run
- GPIO.output(DOOR_PIN, True)
- RuntimeError: The GPIO channel has not been set up as an OUTPUT
- Sesame joined
- Cleaning up
- Exception in thread Thread-2:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
- self.run()
- File "test.py", line 68, in run
- cleanup()
- File "test.py", line 17, in cleanup
- GPIO.output(DOOR_PIN, GPIO.LOW)
- RuntimeError: The GPIO channel has not been set up as an OUTPUT
Advertisement
Add Comment
Please, Sign In to add comment