from machine import Pin
from machine import ADC
from utime import sleep
analog_value = machine.ADC(28)
while True:
reading = analog_value.read_u16()
print("ADC: ", reading)
sleep(0.5)
from machine import Pin
from machine import ADC
from utime import sleep
analog_value = machine.ADC(28)
while True:
reading = analog_value.read_u16()
print("ADC: ", reading)
sleep(0.5)