import time
from led_buzzer import play_buzzer, show_color, leds_off
# Notes to play (mix of low and high)
melody = [300, 500, 800, 1200, 1500]
while True:
for note in melody:
play_buzzer(note) # play sound
show_color(note) # light LED
time.sleep(1) # wait
play_buzzer(0) # stop buzzer
leds_off() # turn LEDs off
time.sleep(1) # short pause