The software is what runs on the Teensy microcontroller. It handles the following actions:
- Polls the various inputs, reading the analog value from each pad
- Reads the memory chip and plays the digital audio samples for each drum
- Updates the menu and reads the encoder / button for input
Building the code
You can browse the latest source code on GitHub to review the code and see how everything works.
To compile everything, you need to first install Arduino with the Teensyduino extension. You can then run 'make' on the command line (in the drummaster/rev2/src folder) to build everything. You will need the Teensy uploader CLI program to uplaod the program via the command line, or you can just use the Teensy Uploader GUI program manually.