old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Revision:
- 42:f481dcabdc34
- Parent:
- 41:5dca752e6c40
- Child:
- 43:890d76ffe627
--- a/NotchingDemo.cpp Sat Sep 07 14:57:31 2019 +0000 +++ b/NotchingDemo.cpp Sat Sep 07 14:59:23 2019 +0000 @@ -400,43 +400,9 @@ -/* - std::vector<classSoundFile> v; - v.push_back(Sound1); - v.push_back(Sound2); - v.push_back(Sound3); - v.push_back(Sound4); - v.push_back(Sound5); - for(int c = 0; c<4; c++) { - printf("This is Sound No.: %s\n\r",v.at(c).file_location); + - } - - - //v.erase(3); - //v.remove(v.begin()+1); - v.erase(v.begin() + 1); - v.at(1); - classSoundFile RandomSound; - RandomSound.file_location = '22'; - //v.push_back(RandomSound); - v[1] = RandomSound; - for(int c = 0; c<4; c++) { - printf("This is Sound No.: %s\n\r",v.at(c).file_location); - - } -*/ - - /* - int ArrayOfSounds[6]; - ArrayOfSounds[1] = classSoundFile Sound1; - ArrayOfSounds[2] = classSoundFile Sound2; - ArrayOfSounds[3] = classSoundFile Sound3; - ArrayOfSounds[4] = classSoundFile Sound4; - ArrayOfSounds[5] = classSoundFile Sound5; - */ - - //ArrayOfSounds[1] = classSoundFile Sound1; + NotchUp.mode(PullUp); NotchDown.mode(PullUp);