资 源 简 介
Source code and instructions to build a metronome using a microcontroller.
This code was thought out to work and tested on a arduino uno board (or any board using an atmega328p microcontroller).
It may work with others microcontrollers, with a few changes - if you want to make it work in other microcontrollers just send me an email or something, and I can help port it.
There"s several elements presented here (sound/led..) but you don"t have to use them all! Use what you want/need. The strictly necessary for a working metronome is the "Tempo" object. You can then add the rest in any way you would like.
In the code, you"ll see that there"s two "main" files (main.cpp and simple_main.cpp). The first one is showing all the stuff, but may not be that easy to read and understand how the program works, so if you"re starting out, try out the simple_main.cpp first!
(keep in mind that when creating a project and trying to compile the code, you can only