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: Multi_WS2811_Mic FastAnalogIn USBDevice mbed
Revision 0:5cb897285e00, committed 2014-11-22
- Comitter:
- antoniorohit
- Date:
- Sat Nov 22 18:55:28 2014 +0000
- Child:
- 1:56a68eaa1129
- Commit message:
- First Rev of Demo Day Code
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CMSIS_DSP_401.lib Sat Nov 22 18:55:28 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/emh203/code/CMSIS_DSP_401/#3d9c67d97d6f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FastAnalogIn.lib Sat Nov 22 18:55:28 2014 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/Sissors/code/FastAnalogIn/#afc3b84dbbd6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Sat Nov 22 18:55:28 2014 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/mbed_official/code/USBDevice/#9506bdafbf94
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Sat Nov 22 18:55:28 2014 +0000
@@ -0,0 +1,27 @@
+#include "mbed.h"
+#include "FastAnalogIn.h"
+#include "USBSerial.h"
+
+FastAnalogIn mic0(A2, 0);
+FastAnalogIn mic1(A3, 0);
+Serial pc(USBTX, USBRX);
+
+int main(void) {
+ uint16_t i = 0;
+ float buff0[1000];
+ float buff1[1000];
+ pc.baud(115200);
+
+ while (true){
+ for(i = 0; i < 500; i++){
+// buff0[i] = (mic0.read());
+// buff1[i] = (mic1.read());
+ pc.printf("%0.3f,%0.3f\n", (mic0.read()), (mic1.read()));
+
+ }
+// for(i = 0; i < 500; i++){
+// pc.printf("%.3f,%.3f\n", (buff0[i]), (buff1[i]));
+// }
+
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Nov 22 18:55:28 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89 \ No newline at end of file