import machine, neopixel, time N = 12 p = machine.Pin(11) np = neopixel.NeoPixel(p, N, bpp=3, timing=1) n = 0 np.fill([0,0,0]) np[0] = (50,0,0) np[1] = (0,50,0) np[2] = (0,0,50) while(1): temp = np[11] for i in range(0,11): np[11-i] = np[10-i] np[0] = temp np.write() time.sleep(0.1)