from machine import Pin, PWM
import time

led = PWM(Pin(19))
while True:
    led.freq(5000)
    while True:
        for d in range (0,65535,655):
            led.duty_u16(d)
            time.sleep_ms(200)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT