from machine import Pin
from utime import sleep
import neopixel
import random
import time
NUM_LEDS = 60
poz=0
leds = neopixel. NeoPixel (Pin(15), NUM_LEDS)
while True:
for x in range(60):
leds[x]=[255,255,255]
leds.write()
sleep(0.1)
if x!=poz:
leds[x]=[0,0,0]
leds.write()
leds[poz-1]=[0,0,0]
poz+=1