examples/kc705_nist_clock: update to new ad53xx driver

This commit is contained in:
Sebastien Bourdeauducq 2018-04-22 15:03:30 +08:00
parent c47d3ec8c8
commit 4fe09fddd5

View File

@ -13,7 +13,7 @@ class AD53XXTest(EnvExperiment):
self.core.reset() self.core.reset()
delay(5*ms) # build slack for shift register set delay(5*ms) # build slack for shift register set
self.fmcdio_dirctl.set(0x00008800) self.fmcdio_dirctl.set(0x00008800)
self.dac.setup_bus() self.dac.init()
self.led.on() self.led.on()
delay(400*us) delay(400*us)
self.led.off() self.led.off()