mirror of https://github.com/m-labs/artiq.git
examples/sayma: make LED blink pattern more peculiar
This commit is contained in:
parent
100c2b1769
commit
2e74ce25d8
|
@ -10,5 +10,7 @@ class BlinkSaymaLED(EnvExperiment):
|
||||||
def run(self):
|
def run(self):
|
||||||
self.core.reset()
|
self.core.reset()
|
||||||
while True:
|
while True:
|
||||||
|
for _ in range(3):
|
||||||
self.led0.pulse(100*ms)
|
self.led0.pulse(100*ms)
|
||||||
delay(100*ms)
|
delay(100*ms)
|
||||||
|
delay(500*ms)
|
||||||
|
|
Loading…
Reference in New Issue