from machine import *
from utime import *

red = PWM(Pin(1))
red.freq(1000)

green = PWM(Pin(5))
green.freq(1000)

blue = PWM(Pin(9))
blue.freq(1000)

for bright in range(0, 65535, 100):
    red.duty_u16(bright)
    sleep_ms(10)

    green.duty_u16(bright)
    sleep_ms(10)

    blue.duty_u16(bright)
    sleep_ms(10)

red.duty_u16(0)
green.duty_u16(0)
blue.duty_u16(0)

BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT