ファンクション・ジェネレータ

Dependencies:   mbed SerialTxRxIntr MyTicker7 Array_Matrix

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Wed Dec 23 01:07:09 2020 +0000
Parent:
0:17c762b41fc7
Commit message:
2

Changed in this revision

FastSin.hpp Show annotated file Show diff for this revision Revisions of this file
IIR_Cascade/Array_Matrix.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
--- a/FastSin.hpp	Sat Oct 17 10:05:58 2020 +0000
+++ b/FastSin.hpp	Wed Dec 23 01:07:09 2020 +0000
@@ -1,6 +1,6 @@
 //-----------------------------------------------------------
 //  FastSin() 関数
-//      sin(π/2)x) の値の計算
+//      sin(πx/2) の値の計算
 //
 //  2020/06/01, Copyright (c) 2020 MIKAMI, Naoki
 //-----------------------------------------------------------
--- a/IIR_Cascade/Array_Matrix.lib	Sat Oct 17 10:05:58 2020 +0000
+++ b/IIR_Cascade/Array_Matrix.lib	Wed Dec 23 01:07:09 2020 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/MikamiUitOpen/code/Array_Matrix/#d9dea7748b27
+https://os.mbed.com/users/MikamiUitOpen/code/Array_Matrix/#d3aa1ddb57e1
--- a/main.cpp	Sat Oct 17 10:05:58 2020 +0000
+++ b/main.cpp	Wed Dec 23 01:07:09 2020 +0000
@@ -19,7 +19,7 @@
 //  注意
 //      PC から送信されるコマンド等が不正かどうかはチェックしていない
 //
-//  2020/10/17, Copyright (c) 2020 MIKAMI, Naoki
+//  2020/12/23, Copyright (c) 2020 MIKAMI, Naoki
 //----------------------------------------------------------------------
 
 #include "F446_DAC.hpp"
@@ -65,7 +65,7 @@
 float Rect(float sinx)
 {
     float x = (sinx >= 0) ? volume_ : -volume_;
-    return x + volNoize_*fpN();
+    return x + fpN();
 }
 // 矩形波(5倍波まで)
 float Compo(float sinx)