from machine import ADC
import time
AnalogIn=ADC(0)
time.sleep(0.1) # Wait for USB to become ready
while True:
V=AnalogIn.read_u16()
print(V)
time.sleep(0.1)
from machine import ADC
import time
AnalogIn=ADC(0)
time.sleep(0.1) # Wait for USB to become ready
while True:
V=AnalogIn.read_u16()
print(V)
time.sleep(0.1)