from machine import Pin,PWM,ADC
from utime import sleep
ldr=Pin(27,0,65537)
while True:
value = ldr.value()
print('value={}'.format(value))
sleep(3)
from machine import Pin,PWM,ADC
from utime import sleep
ldr=Pin(27,0,65537)
while True:
value = ldr.value()
print('value={}'.format(value))
sleep(3)