Test of pmic GPA with filter

Dependencies:   mbed

Fork of nucf446-cuboid-balance1_strong by RT2_Cuboid_demo

Revision:
12:93fd84766578
Parent:
11:ea8a91528ecf
Child:
22:715d351d0be7
--- a/main.cpp	Thu Mar 29 19:22:01 2018 +0000
+++ b/main.cpp	Tue Apr 03 12:06:25 2018 +0000
@@ -16,7 +16,7 @@
 Ticker  ControllerLoopTimer;            // interrupt for control loop
 Timer t;                                // timer to analyse Button
 float Ts = 0.0025;                      // sample time
-PI_Cntrl PI1(1,.01);
+PI_Cntrl PI1(1,.01,Ts);
 // controller parameters etc.
 
 //