print("Hello, Pi Pico!")
from machine import Pin, PWM
import utime
potentiometer=machine.ADC(28)
ledbesar=PWM(Pin(3))
ledbesar.freq(1000)
ledkecik=PWM(Pin(25))
ledkecik.freq(1000)
while True:
reading=potentiometer.read_u16()
print(((reading/65535)*3.3))
ledbesar.duty_u16(reading)
ledkecik.duty_u16(reading)
utime.sleep(0.1)