Add the following snippet to your HTML:<iframe frameborder='0' height='385' scrolling='no' src='https://www.hackster.io/krivanja/controlling-a-buzzer-9a69ea/embed' width='350'></iframe>
Controlling a Buzzer using Pico
Read up about this project on
from machine import Pin import time buzzer = Pin(15, Pin.OUT) while True: buzzer.value(1) time.sleep(1) buzzer.value(0) time.sleep(1)
Please log in or sign up to comment.
Comments
Please log in or sign up to comment.