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.
Dependencies: mbed FATFileSystem
Fork of JBB_WavePlayer_test by
Revision 1:9681a1526ecb, committed 2014-05-23
- Comitter:
- jksoft
- Date:
- Fri May 23 09:41:26 2014 +0000
- Parent:
- 0:e9f196d85a46
- Commit message:
- ???????????
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon May 12 14:45:42 2014 +0000
+++ b/main.cpp Fri May 23 09:41:26 2014 +0000
@@ -33,28 +33,11 @@
int main() {
SW1.mode(PullUp);
- wait(2.0);
flipper.attach(&flip, 0.1);
+
player("/sd/1.wav");
wait(0.5);
- player("/sd/2.wav");
- wait(0.5);
- player("/sd/3.wav");
- wait(0.5);
- player("/sd/4.wav");
- wait(0.5);
- player("/sd/5.wav");
- wait(0.5);
- player("/sd/6.wav");
- wait(0.5);
- player("/sd/7.wav");
- wait(0.5);
- player("/sd/8.wav");
- wait(0.5);
- player("/sd/9.wav");
- wait(0.5);
- player("/sd/10.wav");
- wait(0.5);
+
while(1) {
myled = 1;
wait(0.2);
