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

View File

@ -10,5 +10,7 @@ class BlinkSaymaLED(EnvExperiment):
def run(self):
self.core.reset()
while True:
self.led0.pulse(100*ms)
delay(100*ms)
for _ in range(3):
self.led0.pulse(100*ms)
delay(100*ms)
delay(500*ms)