fix stepper range

This commit is contained in:
Sebastien Bourdeauducq 2022-08-11 15:13:56 +08:00
parent c10cdf3351
commit a871310cda

View File

@ -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)