From 2b5a69a80ceee6088fd3ebcf0bed56346a09fe2b Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 14 Oct 2016 02:18:15 +0200 Subject: [PATCH] phaser: rm idle_kernel --- artiq/examples/phaser/idle_kernel.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 artiq/examples/phaser/idle_kernel.py diff --git a/artiq/examples/phaser/idle_kernel.py b/artiq/examples/phaser/idle_kernel.py deleted file mode 100644 index 704787fb1..000000000 --- a/artiq/examples/phaser/idle_kernel.py +++ /dev/null @@ -1,21 +0,0 @@ -from artiq.experiment import * - - -class IdleKernel(EnvExperiment): - def build(self): - self.setattr_device("core") - self.setattr_device("led") - - @kernel - def run(self): - start_time = now_mu() + seconds_to_mu(500*ms) - while self.core.get_rtio_counter_mu() < start_time: - pass - self.core.reset() - while True: - self.led.pulse(250*ms) - delay(125*ms) - self.led.pulse(125*ms) - delay(125*ms) - self.led.pulse(125*ms) - delay(250*ms)