from machine import Pin
from time import sleep

print ("Selamat Hari Raya, Maaf Zahir Batin:")

led1 = Pin(15, Pin.OUT)
led2 = Pin(12, Pin.OUT)
led3 = Pin(16, Pin.OUT)
buzzer = Pin(14, Pin.OUT)


while True:
    led1.on()
    sleep(1.0)
    led1.off()
    sleep(1.0)

    led2.on()
    sleep(1.0)
    led2.off()
    sleep(1.0)

    led3.on()
    sleep(1.0)
    led3.off()
    sleep(1.0)

    buzzer.on()
    tone()