forked from M-Labs/artiq
1
0
Fork 0

examples/sayma: make LED blink pattern more peculiar

This commit is contained in:
Sebastien Bourdeauducq 2017-12-14 19:10:34 +08:00
parent 100c2b1769
commit 2e74ce25d8
1 changed files with 4 additions and 2 deletions

View File

@ -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)