Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix code typo

  • Loading branch information
clivebeale committed Apr 17, 2015
1 parent a7c5e3b commit 443391be78bcf7f6caa5b8d1966caaa9791db330
Showing with 2 additions and 2 deletions.
  1. +2 −2 code/test_motors.py
@@ -4,11 +4,11 @@
io.setmode(io.BCM)
pins = [17, 18, 22, 23]
for i in pins:
io.setup(i, io.output)
io.setup(i, io.OUT)

#test motors by spinning each one way then the other with 0.5 sec delay
for i in pins:
print ('Testing pin ' + str(i))
io.output(i, 1)
time.sleep(0.5)
io.output(i, 0)
io.output(i, 0)

0 comments on commit 443391b

Please sign in to comment.
You can’t perform that action at this time.