From 2e74ce25d841db702079eb5f4b11a5f36c7a09e4 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 14 Dec 2017 19:10:34 +0800 Subject: [PATCH] examples/sayma: make LED blink pattern more peculiar --- artiq/examples/sayma/repository/blink_led.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/artiq/examples/sayma/repository/blink_led.py b/artiq/examples/sayma/repository/blink_led.py index a0d39e45a..d0fc99cb8 100644 --- a/artiq/examples/sayma/repository/blink_led.py +++ b/artiq/examples/sayma/repository/blink_led.py @@ -10,5 +10,7 @@ class BlinkSaymaLED(EnvExperiment): def run(self): self.core.reset() while True: - self.led0.pulse(100*ms) - delay(100*ms) + for _ in range(3): + self.led0.pulse(100*ms) + delay(100*ms) + delay(500*ms)