from machine import Pin
from neopixel import NeoPixel
from time import sleep
pin = Pin(14, Pin.OUT)
np = NeoPixel(pin, 24)


print ("Let's Party :)")
#brightness :0-255
brightness=100                                
colors=[[brightness,0,0],                    #red
        [0,brightness,0],                    #green
        [0,0,brightness],                    #blue
        [brightness,brightness,brightness],  #white
        [0,0,0]]                             #close
    
while True:
    for i in range(5):
        print(i)
        for j in range(24):
            np[j]=colors[i]
            np.write()
            sleep_ms(50)
        sleep_ms(500)
    sleep_ms(500)
    
Loading
esp32-devkit-c-v4
ring1:GND
ring1:VCC
ring1:DIN
ring1:DOUT
ring2:GND
ring2:VCC
ring2:DIN
ring2:DOUT