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