import time
from machine import Pin,ADC
Relay=Pin(12,Pin.OUT)
LDR=ADC(28)
while True:
   LDR_VALUE=LDR.read_u16()
   print(LDR_VALUE)
   if (LDR_VALUE>60000):
     Relay.value(1)
     print("NIGHT,Light ON")
     time.sleep(0.1)
   else:
     Relay.value(0)
     print("Day,Light OFF")
     time.sleep(0.1)
$abcdeabcde151015202530fghijfghij
$abcdeabcde151015202530354045505560fghijfghij
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
NOCOMNCVCCGNDINLED1PWRRelay Module