Version using MEMS microphone and CODEC for the program "F746_RealtimeSpectrumAnalyzer". "F746_RealtimeSpectrumAnalyzer" の入力を MEMS のマイクと CODEC に変更.このプログラムは Tomona Nanase さんが作成し DISCO-F746NG_Oscilloscope の名前で登録しているプログラムで, CODEC を使って入力する部分を参考にして作成.このプログラムの説明は,CQ出版社のインターフェース誌,2016年4月号に掲載.

Dependencies:   BSP_DISCO_F746NG BUTTON_GROUP LCD_DISCO_F746NG TS_DISCO_F746NG UIT_FFT_Real mbed

Revision:
0:0e5131366580
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.h	Wed Jan 06 12:46:15 2016 +0000
@@ -0,0 +1,18 @@
+//----------------------------------------------
+//  Modified by MIKAMI, 2016/01/05
+//----------------------------------------------
+
+#include "mbed.h"
+#include "functions_for_audio.hpp"
+#include "LCD_DISCO_F746NG.h"
+#include "button_group.hpp"
+#include "WaveformDisplay.hpp"
+#include "AnalysisSelector.hpp"
+
+const int N_DATA_ = 260;                    // Number of data to be analyzed
+const int BufferSize = (N_DATA_*2 + 1)*4;   // Sample Size for input data
+
+extern int16_t audio_in_buffer[BufferSize];
+extern __IO bool audio_in_buffer_captured;
+extern __IO int32_t audio_in_buffer_offset;
+extern __IO int32_t audio_in_buffer_length;