mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 11:48:27 +08:00
Fix suservo example
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
f5bbc688f0
commit
c65520ab01
@ -36,7 +36,7 @@ class SUServo(EnvExperiment):
|
||||
self.suservo0.set_pgia_mu(i, 0)
|
||||
delay(10*us)
|
||||
# DDS attenuator
|
||||
self.suservo0.cpld0.set_att(0, 10.)
|
||||
self.suservo0.cplds[0].set_att(0, 10.)
|
||||
delay(1*us)
|
||||
# Servo is done and disabled
|
||||
assert self.suservo0.get_status() & 0xff == 2
|
||||
|
Loading…
Reference in New Issue
Block a user