![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
statescriptMP
Dependencies: SMARTWAV USBDevice mbed
soundControl.h
- Committer:
- alustig3
- Date:
- 2015-05-18
- Revision:
- 0:9d97f34c6f46
File content as of revision 0:9d97f34c6f46:
#include "mbed.h" #include "SMARTWAV.h" #include <stdint.h> #include <string.h> #include <string> #include <vector> #include <queue> class soundControl { public: soundControl(void); void setFile(string fileNameIn); void setVolume(int* volumeIn); void setVolume(int volumeIn); void setPlayback(bool playIn); void setReset(); void execute(); private: char fileName[21]; bool fileNameExists; int* volumePtr; int volume; bool play; bool reset; };