Skip to content

Commit

Permalink
Add some debug print lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Funcan committed Jan 17, 2014
1 parent 90c3fa6 commit 9ef4cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wiegand_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ def run(self, testfn):
self.number_string = ""

if self.open_door:
print "Maglock open"
GPIO.output(self.GPIO_PIN_SOLENOID, False)
sleep(2)
print "Maglock closed"
GPIO.output(self.GPIO_PIN_SOLENOID, True)
self.open_door = False

Expand Down

0 comments on commit 9ef4cd0

Please sign in to comment.