from machine import PWM,Pin
from hcsr04 import HCSR04
from time import sleep
ultrasonic = HCSR04(trigger_pin=13, echo_pin=12, echo_timeout_us=1000000)
buzzer = PWM(Pin(4, Pin.OUT))
buzzer.freq(4186)
buzzer.duty(0)
from machine import PWM,Pin
from hcsr04 import HCSR04
from time import sleep
ultrasonic = HCSR04(trigger_pin=13, echo_pin=12, echo_timeout_us=1000000)
buzzer = PWM(Pin(4, Pin.OUT))
buzzer.freq(4186)
buzzer.duty(0)