Brian Daniels / Mbed 2 deprecated WAVEplayer_fix

Dependencies:   FatFileSystem mbed

Fork of WAVEplayer by Stephane ROCHON

Files at this revision

API Documentation at this revision

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

FATFileSystem.lib Show diff for this revision Revisions of this file
FatFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- 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