valdur55

Untitled

Dec 11th, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. pi@raspberrypi ~/rpi-eidlock $ sudo python test.py &
  2. [1] 2695
  3. pi@raspberrypi ~/rpi-eidlock $ [('Dell keyboard SK-3106 00 00', 66082, [])]
  4. avan ukse
  5. Sesame joined
  6. Cleaning up
  7. [('Dell keyboard SK-3106 00 00', 131090, [])]
  8. [('Dell keyboard SK-3106 00 00', 197154, [])]
  9. avan ukse
  10. Exception in thread Thread-4:
  11. Traceback (most recent call last):
  12. File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
  13. self.run()
  14. File "test.py", line 37, in run
  15. GPIO.output(DOOR_PIN, True)
  16. RuntimeError: The GPIO channel has not been set up as an OUTPUT
  17.  
  18. Sesame joined
  19. Cleaning up
  20. Exception in thread Thread-2:
  21. Traceback (most recent call last):
  22. File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
  23. self.run()
  24. File "test.py", line 68, in run
  25. cleanup()
  26. File "test.py", line 17, in cleanup
  27. GPIO.output(DOOR_PIN, GPIO.LOW)
  28. RuntimeError: The GPIO channel has not been set up as an OUTPUT
Advertisement
Add Comment
Please, Sign In to add comment