sleep -> Sleep

This commit is contained in:
Jan Pochyla 2016-05-12 21:23:09 +02:00 committed by Pavol Rusnak
parent 7c2ad210e6
commit 32c7782d89
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
1 changed files with 1 additions and 1 deletions

View File

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