forked from M-Labs/artiq
coredevice/TTLOut: add dummy output function
This commit is contained in:
parent
18efca0f0a
commit
c7d48a1765
|
@ -37,6 +37,10 @@ class TTLOut:
|
|||
# in RTIO cycles
|
||||
self.o_previous_timestamp = int(0, width=64)
|
||||
|
||||
@kernel
|
||||
def output(self):
|
||||
pass
|
||||
|
||||
@kernel
|
||||
def set_o(self, o):
|
||||
ttl_set_o(now_mu(), self.channel, o)
|
||||
|
|
|
@ -8,6 +8,7 @@ from math import sqrt
|
|||
from artiq.experiment import *
|
||||
from artiq.test.hardware_testbench import ExperimentCase
|
||||
|
||||
|
||||
artiq_low_latency = os.getenv("ARTIQ_LOW_LATENCY")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue