Skip to content

Commit 04b7c32

Browse files
committed
Change speed to delay to be clearer.
1 parent e3078c9 commit 04b7c32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CircuitPython_Templates/status_led_one_neopixel_rainbow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
pixel.brightness = 0.3
1919

2020

21-
def rainbow(speed):
21+
def rainbow(delay):
2222
for j in range(255):
2323
for i in range(1):
2424
pixel_index = (i * 256 // 1) + j
2525
pixel[i] = colorwheel(pixel_index & 255)
2626
pixel.show()
27-
time.sleep(speed)
27+
time.sleep(delay)
2828

2929

3030
while True:

0 commit comments

Comments
 (0)