import time
from neopixel import Neopixel
pixels = Neopixel(17, 0, 6, "GRB")
colors = [
(0x01, 0x01, 0x01),
(0x42, 0xd1, 0xe0),
(0xff, 0x00, 0x00),
(0x00, 0xff, 0x00),
(0x00, 0x00, 0xff),
(0xff, 0xff, 0x00),
(0xff, 0x00, 0xff),
(0x00, 0xff, 0xff),
(0x80, 0x80, 0x80),
(0x4e, 0x5a, 0x67)
]
pixel_index = 0
color_index = 0
while True:
pixels.set_pixel(pixel_index, colors[color_index])
pixels.show()
pixel_index += 1
if pixel_index == 16:
pixel_index = 0
color_index = (color_index + 1) % 10
time.sleep(0.1)