PC から,リアルタイム信号処理を行っている Nucleo-F446 を制御する例.

Dependencies:   mbed SerialTxRxIntr F446_AD_DA_Multirate

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Mon Apr 12 11:52:59 2021 +0000
Parent:
13:bcaee883b812
Commit message:
15

Changed in this revision

F446_AD_DA_Multirate.lib Show annotated file Show diff for this revision Revisions of this file
SerialTxRxIntr.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r bcaee883b812 -r 2f1af14e6c0d F446_AD_DA_Multirate.lib
--- a/F446_AD_DA_Multirate.lib	Wed Feb 05 08:45:41 2020 +0000
+++ b/F446_AD_DA_Multirate.lib	Mon Apr 12 11:52:59 2021 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/MikamiUitOpen/code/F446_AD_DA_Multirate/#9429fb179c38
+https://os.mbed.com/users/MikamiUitOpen/code/F446_AD_DA_Multirate/#75bc15678d1b
diff -r bcaee883b812 -r 2f1af14e6c0d SerialTxRxIntr.lib
--- a/SerialTxRxIntr.lib	Wed Feb 05 08:45:41 2020 +0000
+++ b/SerialTxRxIntr.lib	Mon Apr 12 11:52:59 2021 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/MikamiUitOpen/code/SerialTxRxIntr/#deeef404ff49
+https://os.mbed.com/users/MikamiUitOpen/code/SerialTxRxIntr/#268977533f95
diff -r bcaee883b812 -r 2f1af14e6c0d main.cpp
--- a/main.cpp	Wed Feb 05 08:45:41 2020 +0000
+++ b/main.cpp	Mon Apr 12 11:52:59 2021 +0000
@@ -17,7 +17,7 @@
 //  PC 側のプログラム
 //      F446_AD_DA_Ctrl
 //
-//  2020/02/05, Copyright (c) 2020 MIKAMI, Naoki
+//  2020/04/12, Copyright (c) 2020 MIKAMI, Naoki
 //----------------------------------------------------------------------
 
 #include "F446_Multirate.hpp"
@@ -44,7 +44,7 @@
     float volume = 0.4f;    // 音量を決める変数(初期値)
     bool sw = true;
 
-    myAdDa_.Start(FS_);     // 標本化を開始する
+    myAdDa_.Start(FS_, A1); // 標本化を開始する,入力:A1
     while (true)
     {
         //------------------------------------------------------------