Skip to content

Commit

Permalink
exit clean on all manual test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
electronut committed Nov 26, 2014
1 parent 8f2f2bc commit 4df37f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arduino-laser/laser.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def manualTest(ser):
vals.insert(0, ord('H'))
data = struct.pack('BBBBB', *vals)
ser.write(data)
except KeyboardInterrupt:
except:
print('exiting...')
# shut off motors
vals = [ord('H'), 0, 1, 0, 1]
Expand Down

0 comments on commit 4df37f6

Please sign in to comment.