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:
|
||||||
self.led0.pulse(100*ms)
|
for _ in range(3):
|
||||||
delay(100*ms)
|
self.led0.pulse(100*ms)
|
||||||
|
delay(100*ms)
|
||||||
|
delay(500*ms)
|
||||||
|
|
Loading…
Reference in New Issue