from machine import Pin, PWM, ADC
from time import sleep_ms
#led = PWM(Pin(25))
qualquerCoisa = ADC(Pin(33))
while True:
x = qualquerCoisa.read_u16()
print (f'valor:{x}, V:{3.3*x/65535}')
#led.duty_u16(v)
sleep_ms(1000)
from machine import Pin, PWM, ADC
from time import sleep_ms
#led = PWM(Pin(25))
qualquerCoisa = ADC(Pin(33))
while True:
x = qualquerCoisa.read_u16()
print (f'valor:{x}, V:{3.3*x/65535}')
#led.duty_u16(v)
sleep_ms(1000)