Code to make a Metronome with a timer, a interrupt, and two button (up/down)
This repository shows:
-Make a Metronome
-Change the BPM with two buttons (pull up mode)and changing the period of the timer on runtime make an update interrupt
-Make a function and its prototype
-Handling bounce effect of the buttons with hardware (capacitor of 1 uF) and software