from machine import Pin
from machine import PWM
from time import sleep
Buzzer= PWM(Pin(0, Pin.OUT))
for i in range(5):
Buzzer.freq(294)
Buzzer.duty_u16(32768)
sleep(1)
Buzzer.duty_u16(0)
sleep(1)
from machine import Pin
from machine import PWM
from time import sleep
Buzzer= PWM(Pin(0, Pin.OUT))
for i in range(5):
Buzzer.freq(294)
Buzzer.duty_u16(32768)
sleep(1)
Buzzer.duty_u16(0)
sleep(1)