from machine import ADC
from time import sleep
LDR= ADC(2)
while True:
valorLDR= LDR.read_u16()
sleep(1)
print(valorLDR)
from machine import ADC
from time import sleep
LDR= ADC(2)
while True:
valorLDR= LDR.read_u16()
sleep(1)
print(valorLDR)