Starter code for Georgia Tech ECE 2036 Summer 2014 Lab 2

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Committer:
jlind6
Date:
Fri Jun 20 15:22:28 2014 +0000
Revision:
2:6163865f5ce3
Parent:
1:839d22d423bd
(Typo) On line 135, changed a vy to a vx.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jlind6 0:356124c0bafc 1 #include "Speaker.h"
jlind6 0:356124c0bafc 2
jlind6 0:356124c0bafc 3 class Note
jlind6 0:356124c0bafc 4 {
jlind6 0:356124c0bafc 5 public:
jlind6 1:839d22d423bd 6 // You create your own constructors and
jlind6 1:839d22d423bd 7 // member functions!!
jlind6 0:356124c0bafc 8 private:
jlind6 0:356124c0bafc 9 float freq;
jlind6 0:356124c0bafc 10 float length;
jlind6 0:356124c0bafc 11 float volume;
jlind6 0:356124c0bafc 12 };
jlind6 0:356124c0bafc 13
jlind6 0:356124c0bafc 14 class SoundBuilder
jlind6 0:356124c0bafc 15 {
jlind6 0:356124c0bafc 16 public:
jlind6 0:356124c0bafc 17 // Set Sounds
jlind6 0:356124c0bafc 18 // Set Songs
jlind6 0:356124c0bafc 19 // Play Sounds
jlind6 0:356124c0bafc 20 // Play Songs
jlind6 0:356124c0bafc 21 // Clear Songs
jlind6 0:356124c0bafc 22
jlind6 0:356124c0bafc 23 private:
jlind6 0:356124c0bafc 24 Note song[20];
jlind6 0:356124c0bafc 25 Speaker *speaker;
jlind6 0:356124c0bafc 26
jlind6 0:356124c0bafc 27 };