Test program with the RT black boxes

Dependencies:   mbed

Revision:
13:a308f5e6c306
Parent:
12:6287235b2570
--- a/IIR_filter.cpp	Thu Apr 05 08:28:32 2018 +0000
+++ b/IIR_filter.cpp	Thu Apr 05 10:07:29 2018 +0000
@@ -13,7 +13,7 @@
 */
 
 // G(s) = s/(T*s + 1)
-IIR_filter::IIR_filter(float T,float Ts){
+IIR_filter::IIR_filter(float T, float Ts){
            
     // filter orders
     nb = 1; // Filter Order
@@ -37,7 +37,7 @@
 }
 
 // G(s) = K/(T*s + 1)
-IIR_filter::IIR_filter(float T,float Ts,float K){
+IIR_filter::IIR_filter(float T, float Ts, float K){
     
     // filter orders
     nb = 1; // Filter Order
@@ -61,7 +61,7 @@
 }
 
 // G(s) = K*w0^2/(s^2 + 2*D*w0*s + w0^2) 
-IIR_filter::IIR_filter(float w0,float D, float Ts, float K){
+IIR_filter::IIR_filter(float w0, float D, float Ts, float K){
     
     // filter orders
     nb = 2; // Filter Order
@@ -89,7 +89,7 @@
     this->K = (double)K;
 }
 
-IIR_filter::IIR_filter(float *b,float *a,int nb_, int na_){
+IIR_filter::IIR_filter(float *b, float *a, int nb_, int na_){
     
     // filter orders
     this->nb = nb_-1;    // Filter Order