cleanup
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
#import Adafruit_MotorHAT, Adafruit_DCMotor, Adafruit_Stepper
|
from Adafruit_MotorHAT import Adafruit_MotorHAT, Adafruit_DCMotor
|
||||||
from Adafruit_MotorHAT import Adafruit_MotorHAT, Adafruit_DCMotor, Adafruit_StepperMotor
|
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import atexit
|
import atexit
|
||||||
@@ -57,6 +56,3 @@ while (True):
|
|||||||
print "Release"
|
print "Release"
|
||||||
myMotor.run(Adafruit_MotorHAT.RELEASE)
|
myMotor.run(Adafruit_MotorHAT.RELEASE)
|
||||||
time.sleep(1.0)
|
time.sleep(1.0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user