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: FatFileSystem mbed
Fork of WAVEplayer by
Revision 1:d80e2eee325a, committed 2015-02-09
- Comitter:
- bridadan
- Date:
- Mon Feb 09 16:04:37 2015 +0000
- Parent:
- 0:4cda52c0c66e
- Commit message:
- Attempting to fix compilation errors
Changed in this revision
--- a/FATFileSystem.lib Sat Jan 02 17:07:38 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_unsupported/code/fatfilesystem/ \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FatFileSystem.lib Mon Feb 09 16:04:37 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/bridadan/code/FatFileSystem/#8263aa1f626a
--- a/main.cpp Sat Jan 02 17:07:38 2010 +0000
+++ b/main.cpp Mon Feb 09 16:04:37 2015 +0000
@@ -1,14 +1,13 @@
#include "mbed.h"
#include "SDFileSystem.h"
-AnalogOut DACout(p18);
+AnalogOut DACout(A5);
DigitalOut led1(LED1);
DigitalOut led2(LED2);
DigitalOut led3(LED3);
-DigitalOut led4(p8);
DigitalOut digout(LED4);
Ticker tick;
-SDFileSystem sd(p11, p12, p13, p14, "sd");
+SDFileSystem sd(PTD6, PTD7, PTD5, PTD4, "sd");
#define SAMPLE_FREQ 40000
#define BUF_SIZE (SAMPLE_FREQ/10)
@@ -68,7 +67,7 @@
DAC_wptr=4;
DAC_on=0;
- led1=led2=led3=led4=0;
+ led1=led2=led3=0;
printf("Playing wave file '%s'\n",wavname);
--- a/mbed.bld Sat Jan 02 17:07:38 2010 +0000 +++ b/mbed.bld Mon Feb 09 16:04:37 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/49a220cc26e0 +http://mbed.org/users/mbed_official/code/mbed/builds/e188a91d3eaa \ No newline at end of file
