From 48b48e44ddc22919e04f4d30c29a882afbefc2cd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 17 Apr 2018 20:15:38 +0800 Subject: [PATCH] kasli/mitll: fix demo --- artiq/examples/kasli_mitll/repository/demo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/examples/kasli_mitll/repository/demo.py b/artiq/examples/kasli_mitll/repository/demo.py index bdb3b9361..eafb6d4ea 100644 --- a/artiq/examples/kasli_mitll/repository/demo.py +++ b/artiq/examples/kasli_mitll/repository/demo.py @@ -10,7 +10,8 @@ class UrukulTest(EnvExperiment): self.setattr_device("urukul0_ch2") self.setattr_device("urukul0_ch3") self.setattr_device("led0") - self.ttl = self.get_device("ttl16") + self.setattr_device("led1") + self.ttl = self.get_device("ttl0") @kernel def run(self): @@ -50,3 +51,4 @@ class UrukulTest(EnvExperiment): self.urukul0_ch0.sw.pulse(100*ms) delay(100*ms) self.led0.pulse(100*ms) + self.led1.pulse(100*ms)