/Designs/Laboratory_instruments/CLOCKMOT01A/SW/CLOCKMOT.py
191,6 → 191,8
 
if key == ['start']:
running = True
X.Reset()
X.Initialize()
requested_speed = SPEED
 
if key == ['faster']:
210,8 → 212,6
real_speed = X.Run(1, requested_speed)
print "Motor running at: %f steps/s" % real_speed
else:
X.Reset()
X.Initialize()
X.Float(hard=False) # release power
print "Stopping the motor."