From 00a2e51f99389d7a36268d8853e4afa4b77ee20d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 26 Oct 2017 11:58:15 +0800 Subject: [PATCH] examples/ad5360: adapt for Zotino --- .../master/repository/coredevice_examples/simple/ad5360.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/examples/master/repository/coredevice_examples/simple/ad5360.py b/artiq/examples/master/repository/coredevice_examples/simple/ad5360.py index 97c7c5428..e4ed25794 100644 --- a/artiq/examples/master/repository/coredevice_examples/simple/ad5360.py +++ b/artiq/examples/master/repository/coredevice_examples/simple/ad5360.py @@ -4,7 +4,7 @@ from artiq.experiment import * class AD5360Test(EnvExperiment): def build(self): self.setattr_device("core") - self.dac = self.get_device("dac0") + self.dac = self.get_device("dac_zotino") self.setattr_device("led") @kernel @@ -15,4 +15,4 @@ class AD5360Test(EnvExperiment): self.led.on() delay(400*us) self.led.off() - self.dac.set([i << 10 for i in range(40)]) + self.dac.set([i << 10 for i in range(32)])