From a7dfa03a2157e1725597f7ebbf901f85fc77093d Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 27 Jul 2022 15:14:12 +0800 Subject: [PATCH] ttl_in/MTD: import time --- examples/ttl_in.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/ttl_in.py b/examples/ttl_in.py index a35bd08..320eabd 100644 --- a/examples/ttl_in.py +++ b/examples/ttl_in.py @@ -51,6 +51,9 @@ class ExternalTrigger(EnvExperiment): self.ttlout.pulse(1*us) +import time + + class MeanTimestampDuration(EnvExperiment): def build(self): self.setattr_device("core")