One player pong with seven segment display for score keeping
Dependencies: 4DGL-uLCD-SE PinDetect SDFileSystem mbed-rtos mbed wave_player
Fork of ECE2036Lab2StarterCode by
Diff: soundBuilder.h
- Revision:
- 0:356124c0bafc
- Child:
- 1:839d22d423bd
diff -r 000000000000 -r 356124c0bafc soundBuilder.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/soundBuilder.h Tue Jun 17 20:03:41 2014 +0000 @@ -0,0 +1,26 @@ +#include "Speaker.h" + +class Note +{ +public: + +private: + float freq; + float length; + float volume; +}; + +class SoundBuilder +{ +public: + // Set Sounds + // Set Songs + // Play Sounds + // Play Songs + // Clear Songs + +private: + Note song[20]; + Speaker *speaker; + +};