USBAudio example using a microphone

Dependencies:   USBDevice mbed

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Fri Mar 01 13:20:51 2013 +0000
Parent:
9:9de252a14cde
Commit message:
use latest USBDevice lib (FRDM-KL25Z support)

Changed in this revision

USBDevice.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
diff -r 9de252a14cde -r 3eab670ff01f USBDevice.lib
--- a/USBDevice.lib	Thu Sep 27 20:55:04 2012 +0000
+++ b/USBDevice.lib	Fri Mar 01 13:20:51 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/USBDevice/#34856a6adb5b
+http://mbed.org/users/mbed_official/code/USBDevice/#335f2506f422
diff -r 9de252a14cde -r 3eab670ff01f main.cpp
--- a/main.cpp	Thu Sep 27 20:55:04 2012 +0000
+++ b/main.cpp	Fri Mar 01 13:20:51 2013 +0000
@@ -11,7 +11,7 @@
 #define AUDIO_LENGTH_PACKET (FREQ/500) * NB_CHA
 
 // as we don't use audio in, 48000 and 1 are dummy
-USBAudio audio(48000, 1, FREQ, NB_CHA, 0x1007, 0xa455);
+USBAudio audio(8000, 1, FREQ, NB_CHA, 0x0103, 0x4521);
 
 AnalogIn mic(p20);
 
diff -r 9de252a14cde -r 3eab670ff01f mbed.bld
--- a/mbed.bld	Thu Sep 27 20:55:04 2012 +0000
+++ b/mbed.bld	Fri Mar 01 13:20:51 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/cd19af002ccc
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/3d0ef94e36ec
\ No newline at end of file