Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Music/Music.h
- Revision:
- 14:1e6f74233e8e
- Parent:
- 8:21b6d4dbce44
- Child:
- 15:1cb1eb0136aa
diff -r 32d580b3935c -r 1e6f74233e8e Music/Music.h
--- a/Music/Music.h Mon May 06 15:07:28 2019 +0000
+++ b/Music/Music.h Wed May 08 14:41:56 2019 +0000
@@ -10,6 +10,18 @@
+/** Music Class
+
+@brief The Music Class handles the playing of the background music while playing
+the game. It uses the buzzer with PWM audio to play complex waveforms through
+a standard 5V pin of the board.
+@version 1.0
+
+@author Joshua Davy el17jd
+
+@date April 2019
+
+*/
class Music {
@@ -18,7 +30,6 @@
~Music();
void init(const int* data,int length);
void play_next();
- void play_tone(int freq,int duration);
private: