from machine import Pin
from utime import sleep
ldr= pin(27,0,65537)
while True:
value=ldr.value()
print("value:",value)
sleep(3)
from machine import Pin
from utime import sleep
ldr= pin(27,0,65537)
while True:
value=ldr.value()
print("value:",value)
sleep(3)