# Project objective: To test a passive buzzer to play an alarm sound at one second interval
#
# Hardware and connections used:
# Passive buzzer GND to Raspberry Pi Pico GND
# Passive buzzer + Pin to GPIO Pin 15
#
# Programmer: Adrian Josele G. Quional
# if passive buzzer is used, import the Speaker class from picozero
from macnine import Pin
from utime import sleep
led = Pin(1,Pin.OUT)
while True:
led.on()
sleep(2)
led.off()
sleep(2)