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: MAX9814_Electret_Microphone_LED_Volume_Indicator mbed
main.cpp
- Committer:
- andcor02
- Date:
- 2014-11-02
- Revision:
- 2:204df97fe23a
- Parent:
- 1:380e6ab41172
File content as of revision 2:204df97fe23a:
#include "mbed.h"
#include "MAX9814.h"
Serial pc (USBTX, USBRX);
MAX9814 mic(p20);
int main()
{
while (1) {
mic.volume_indicator();
pc.printf("\n\r Level is %f", mic.sound_level());
}
}
Electret Microphone Amplifier - MAX9814