import time
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")
from machine import Pin,ADC
mcp9700=ADC(Pin(26))
while 1:
adc_raw=mcp9700.read_u16()
adc_volt=adc_raw*3.3/65535
temp=(adc_volt-0.5)/0.01
print(adc_raw,adc_volt,temp)
time.sleep(0.03)