From 4218354e657668d673821cb114cc6a300d6ef536 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Sat, 16 Oct 2021 18:55:25 +0800 Subject: [PATCH] zc706: updated device_db for tests --- examples/device_db.py | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/examples/device_db.py b/examples/device_db.py index 9b49c0c..a6caf9e 100644 --- a/examples/device_db.py +++ b/examples/device_db.py @@ -29,30 +29,11 @@ device_db = { "class": "PCA9548" }, - # led? are common to all variants "led0": { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", - "arguments": {"channel": 0}, - }, - "led1": { - "type": "local", - "module": "artiq.coredevice.ttl", - "class": "TTLOut", - "arguments": {"channel": 1}, - }, - "led2": { - "type": "local", - "module": "artiq.coredevice.ttl", - "class": "TTLOut", - "arguments": {"channel": 2} - }, - "led3": { - "type": "local", - "module": "artiq.coredevice.ttl", - "class": "TTLOut", - "arguments": {"channel": 3} + "arguments": {"channel": 41}, }, } @@ -62,7 +43,7 @@ for i in range(40): "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLInOut", - "arguments": {"channel": 4+i} + "arguments": {"channel": i} } device_db["ad9914dds0"] = {