from machine import Pin,ADC,PWM
from time import sleep 
a=ADC(26)
b=ADC(27)
c=ADC(28)
red=PWM(Pin(2))
green=PWM(Pin(1))
blue=PWM(Pin(0))
red.freq(100)
blue.freq(100)
green.freq(100)
while True:
    red.duty_u16(a.read_u16())
    blue.duty_u16(b.read_u16())
    green.duty_u16(c.read_u16())
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT