forked from M-Labs/artiq
1
0
Fork 0

kasli: cleanup drtio blink example

This commit is contained in:
Sebastien Bourdeauducq 2018-09-15 18:43:27 +08:00
parent d38755feff
commit 3cbdf2fbac
1 changed files with 5 additions and 6 deletions

View File

@ -8,10 +8,9 @@ class Blink(EnvExperiment):
@kernel
def run(self):
while True:
self.core.reset()
self.core.reset()
while True:
for led in self.leds:
led.pulse(200*ms)
delay(200*ms)
while True:
for led in self.leds:
led.pulse(200*ms)
delay(200*ms)