From 7002bea0ab49e91e491843416d4e508d973bdf55 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 14 Feb 2018 09:02:54 +0000 Subject: [PATCH] kasli: clean up urukul example more --- artiq/examples/kasli/repository/urukul.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/artiq/examples/kasli/repository/urukul.py b/artiq/examples/kasli/repository/urukul.py index 654d4f880..2f6a28d9f 100644 --- a/artiq/examples/kasli/repository/urukul.py +++ b/artiq/examples/kasli/repository/urukul.py @@ -47,23 +47,6 @@ class UrukulTest(EnvExperiment): self.urukul0_ch3.sw.on() self.urukul0_ch3.set_att(20.) - i = 0 - j = 0 - while True: self.urukul0_ch0.sw.pulse(5*ms) delay(5*ms) - - while False: - self.led0.pulse(.5*s) - delay(.5*s) - - @kernel - def test_att_noise(self, n=1024): - bus = self.urukul0_cpld.bus - bus.set_config_mu(_SPI_CONFIG, _SPIT_ATT_WR, _SPIT_ATT_RD) - bus.set_xfer(CS_ATT, 32, 0) - for i in range(n): - delay(5*us) - bus.write(self.att_reg) - bus.set_config_mu(_SPI_CONFIG, _SPIT_DDS_WR, _SPIT_DDS_RD)