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 mbed-rtos 4DGL-uLCD-SE FFT PinDetect MAX4466
Diff: main.cpp
- Revision:
- 0:fc5acbf5061c
- Child:
- 2:86aa2287412d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Fri Oct 23 18:37:46 2015 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "MAX4466.h"
+Serial pc (USBTX, USBRX);
+
+
+MAX4466 mic(p20);
+
+int main()
+{
+ while (1) {
+ mic.volume_indicator();
+ pc.printf("\n\r Level is %f", mic.sound_level());
+ }
+}
\ No newline at end of file