from machine import ADC, Pin, I2C
from utime import sleep

# ADC setup
adc = ADC(Pin(34))
adc.atten(ADC.ATTN_11DB)

while True:
    reading = adc.read()
    adc_str = f'Pot Value: {reading}'
    print(adc_str)
    sleep(0.1)