import time
from machine import Pin
appliance_1=Pin(14,Pin.OUT)
appliance_2=Pin(15,Pin.OUT)
print("===EXP 11: HOME AUTOMATION SYSTEM INITIALIZED===")
for cycle in range(1,3):
print(f"\n--- Automation Schedule Cycle #{cycle} ---")
appliance_1.value(1)
appliance_2.value(0)
print("[STATUS] Evening Mode : Light ON | Fan OFF")
time.sleep(2)
appliance_1.value(0)
appliance_2.value(1)
print("[STATUS] Night Mode : Light OFF | Fan ON")
time.sleep(2)
appliance_1.value(0)
appliance_2.value(0)
print("\n[SUCCESS] Home Automation cycle completed.All loads powered")