sleep -> Sleep
This commit is contained in:
parent
7c2ad210e6
commit
32c7782d89
|
@ -52,4 +52,4 @@ def animate_pulse(func, ca, cb, speed=200000, delay=30000):
|
|||
y = 0.5 + 0.5 * math.sin(utime.ticks_us() / speed)
|
||||
c = blend(ca, cb, y)
|
||||
func(c)
|
||||
yield loop.sleep(delay)
|
||||
yield loop.Sleep(delay)
|
||||
|
|
Loading…
Reference in New Issue