Tag

#melody

1 tutorial

esp32 beginner 20 min

ESP32: drive a piezo buzzer with tone()

Use a piezo buzzer with an ESP32 to play tones, melodies, and alarm sounds. The LEDC peripheral does this in hardware, with no CPU overhead.