from machine import PWM,Pin
import time,random
buzzer =PWM(Pin(0))
buzzer.duty_u16(65535)
while True:
r = random.randint(40000,70000)
print(r)
buzzer.freq(r)
from machine import PWM,Pin
import time,random
buzzer =PWM(Pin(0))
buzzer.duty_u16(65535)
while True:
r = random.randint(40000,70000)
print(r)
buzzer.freq(r)