import machine
import utime
print("Ejemplo ADC")
potentiometer = machine.ADC(26)
while True:
reading = potentiometer.read_u16()
print("ADC: ", reading)
utime.sleep(0.2)
import machine
import utime
print("Ejemplo ADC")
potentiometer = machine.ADC(26)
while True:
reading = potentiometer.read_u16()
print("ADC: ", reading)
utime.sleep(0.2)