import time
from machine import ADC, Pin
adc =ADC(Pin(35))
while True:
val = adc.read_u16()
print(val)
time.sleep(1)
# mere info https://randomnerdtutorials.com/esp32-esp8266-analog-readings-micropython/
import time
from machine import ADC, Pin
adc =ADC(Pin(35))
while True:
val = adc.read_u16()
print(val)
time.sleep(1)
# mere info https://randomnerdtutorials.com/esp32-esp8266-analog-readings-micropython/