Tag

#tone

3 tutorials

arduino beginner 30 min

Arduino: Simon-says memory game

Build the Simon memory game with 4 buttons, 4 LEDs, and a buzzer. State machines, tone(), and the game loop that scales to any difficulty.

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.