#---Impot Library---
from machine import Pin,PWM
from time import sleep
#---Pin Setup---
buzzer_Pin = Pin(32,Pin.OUT)
#---LED
led1 = Pin(18,Pin.OUT).on()
#---Main Program---
beep = PWM(buzzer_Pin,500)
beep.duty(100)
sleep(0.5)
beep.deinit()
led1 = Pin(18,Pin.OUT).off()