import board
import time
import neopixel

# set up the neopixels
pixels = neopixel.NeoPixel(board.D6, 7, 
                           auto_write=True, brightness=0.2)
on = (0, 0, 255)  # set a color for on, such as blue
off = (0, 0, 0)
pixels.fill(off)

# light each neopixel for one second
while True:
    for x in range(7):
        pixels[x] = on
        time.sleep(1)
        pixels.fill(off)