CQエレクトロニクス・セミナ「実習・マイコンを動かしながら学ぶディジタル・フィルタ」で使うプログラムを,入力として STM32F746 の内蔵 ADC を使うように変更したもの. http://seminar.cqpub.co.jp/ccm/ES18-0020

Dependencies:   mbed Array_Matrix BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Wed Nov 08 11:43:52 2017 +0000
Parent:
0:ab7a35d87173
Child:
2:dd48e1e59daa
Commit message:
2

Changed in this revision

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
--- a/main.cpp	Sat Oct 07 03:28:40 2017 +0000
+++ b/main.cpp	Wed Nov 08 11:43:52 2017 +0000
@@ -6,10 +6,10 @@
 //  このプログラムでは,例として定数乗算器を実装している
 //
 //      使用しているライブラリのリビジョン:
-//          mbed                Rev.152
+//          mbed                Rev.154
 //          BSP_DISCO_F746NG    Rev.9
 //
-//  2017/10/07, Copyright (c) 2017 MIKAMI, Naoki
+//  2017/11/08, Copyright (c) 2017 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #include "SAI_InOut.hpp"
@@ -41,7 +41,6 @@
     AdcInitialize(mySai.GetLength());
 
     mySai.PlayOut();    // オーディオ信号出力開始
-    
     while (true)        // 無限ループ
     {
         // 出力バッファへの転送完了と ADC バッファが満杯で以下の処理を行う
@@ -59,7 +58,6 @@
                 //------------------------------------------------------
                 mySai.Output(xn, yn);       // xn:入力(左チャンネル)
                                             // yn:出力(右チャンネル)
-
                 myPanel.Store(xn, yn, n);   // 表示用として格納
             }
             myPanel.Display();  // 入出力信号の波形表示
--- a/mbed.bld	Sat Oct 07 03:28:40 2017 +0000
+++ b/mbed.bld	Wed Nov 08 11:43:52 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/235179ab3f27
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/fb8e0ae1cceb
\ No newline at end of file