from machine import Pin, ADC
from time import sleep_ms
pot = ADC(Pin(4))
while True:
valor = pot.read_u16()
print (f'Valor:{v}, V:{3.3*v/65535}')
sleep_ms(1000)
from machine import Pin, ADC
from time import sleep_ms
pot = ADC(Pin(4))
while True:
valor = pot.read_u16()
print (f'Valor:{v}, V:{3.3*v/65535}')
sleep_ms(1000)