fix stepper range
This commit is contained in:
parent
c10cdf3351
commit
a871310cda
@ -43,12 +43,12 @@ class Stepper(EnvExperiment):
|
||||
delay(5*us)
|
||||
|
||||
while True:
|
||||
for i in range(full_range):
|
||||
for i in range(used_range):
|
||||
self.step_left.pulse(5*us)
|
||||
delay(5*us)
|
||||
delay(50*ms)
|
||||
|
||||
for i in range(full_range):
|
||||
for i in range(used_range):
|
||||
self.step_right.pulse(5*us)
|
||||
delay(5*us)
|
||||
delay(50*ms)
|
||||
|
Loading…
Reference in New Issue
Block a user