# uPython_03_ldr
# https://randomnerdtutorials.com/esp32-esp8266-analog-readings-micropython/
from machine import Pin, ADC
from time import sleep
pot = ADC(Pin(34))
pot.atten(ADC.ATTN_11DB) #Full range: 3.3v
while True:
pot_value = pot.read()
print(pot_value)
sleep(0.1)