mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
kasli: cleanup drtio blink example
This commit is contained in:
parent
d38755feff
commit
3cbdf2fbac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user