from machine import Pin,ADC
import utime
idr =ADC(27)
pot=ADC(28)
cf = 3.3/(65536)
while True:
print("idr="+str(idr.read_u16() * cf ))
print("pot="+str(pot.read_u16() * cf))
utime.sleep(0.1)from machine import Pin,ADC
import utime
idr =ADC(27)
pot=ADC(28)
cf = 3.3/(65536)
while True:
print("idr="+str(idr.read_u16() * cf ))
print("pot="+str(pot.read_u16() * cf))
utime.sleep(0.1)