1
0
Fork 0

zc706: updated device_db for tests

This commit is contained in:
mwojcik 2021-10-16 18:55:25 +08:00 committed by Gitea
parent 2376f9ab5e
commit 4218354e65
1 changed files with 2 additions and 21 deletions

View File

@ -29,30 +29,11 @@ device_db = {
"class": "PCA9548" "class": "PCA9548"
}, },
# led? are common to all variants
"led0": { "led0": {
"type": "local", "type": "local",
"module": "artiq.coredevice.ttl", "module": "artiq.coredevice.ttl",
"class": "TTLOut", "class": "TTLOut",
"arguments": {"channel": 0}, "arguments": {"channel": 41},
},
"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}
}, },
} }
@ -62,7 +43,7 @@ for i in range(40):
"type": "local", "type": "local",
"module": "artiq.coredevice.ttl", "module": "artiq.coredevice.ttl",
"class": "TTLInOut", "class": "TTLInOut",
"arguments": {"channel": 4+i} "arguments": {"channel": i}
} }
device_db["ad9914dds0"] = { device_db["ad9914dds0"] = {