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: Array_Matrix mbed SerialTxRxIntr DSP_ADDA UIT_FFT_Real Window
Revision 2:2ca9f8a0f6ef, committed 2022-04-21
- Comitter:
- MikamiUitOpen
- Date:
- Thu Apr 21 05:45:48 2022 +0000
- Parent:
- 1:d4e3f39ce206
- Commit message:
- 3
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d4e3f39ce206 -r 2ca9f8a0f6ef main.cpp --- a/main.cpp Wed Dec 08 03:15:17 2021 +0000 +++ b/main.cpp Thu Apr 21 05:45:48 2022 +0000 @@ -10,7 +10,7 @@ // // ● 入力: A1 // -// 2021/11/17, Copyright (c) 2021 MIKAMI, Naoki +// 2022/04/21, Copyright (c) 2022 MIKAMI, Naoki //--------------------------------------------------------------------- #include <string> @@ -33,7 +33,7 @@ const int RATIO_ = 10; // ダウンサンプリングの倍率:1/10 const int N_TX_ = 251; // PC に転送するデータ数 -DspAdcIntr myAdc_(10.24f*RATIO_, A1); // 標本化周波数: 100 kHz +DspAdcIntr myAdc_(10.24f*RATIO_, A1); // 標本化周波数: 102.4 kHz IirCascade aaf_(ORDER1_, CK1_, G01_); // ダウンサンプリング用 Anti-alias フィルタ DoubleBuffer buf_(N_SMPL_); // ダウンサンプリングの結果を保存するダブル・バッファ