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.
Fork of CURRENT_CONTROL by
Revision 16:6e3bcd373f9d, committed 2017-01-04
- Comitter:
- benson516
- Date:
- Wed Jan 04 10:43:41 2017 +0000
- Parent:
- 15:d9ccd6c92a21
- Child:
- 17:7f16cc2e46fc
- Commit message:
- Remove the LPF class and use the LPF class in "FILTER_LIB" instead
Changed in this revision
| CURRENT_CONTROL.cpp | Show annotated file Show diff for this revision Revisions of this file |
| CURRENT_CONTROL.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/CURRENT_CONTROL.cpp Mon Dec 26 08:53:09 2016 +0000
+++ b/CURRENT_CONTROL.cpp Wed Jan 04 10:43:41 2017 +0000
@@ -1,6 +1,7 @@
#include "mbed.h"
#include "CURRENT_CONTROL.h"
+/*
//=====================LPF ====================//
LPF::LPF(float samplingTime, float cutOff_freq_Hz_in)
{
@@ -34,7 +35,7 @@
output = input;
return;
}
-
+*/
//================== CURRENT_CONTROL =================//
CURRENT_CONTROL::CURRENT_CONTROL(PinName curChannel,
--- a/CURRENT_CONTROL.h Mon Dec 26 08:53:09 2016 +0000
+++ b/CURRENT_CONTROL.h Wed Jan 04 10:43:41 2017 +0000
@@ -10,10 +10,12 @@
#include "mbed.h"
#include "PID.h"
#include "QEI.h"
+//
+#include "FILTER_LIB.h" // Filter library
-
+/*
class LPF
{public:
float output;
@@ -31,7 +33,7 @@
// Flag
bool Flag_Init;
};
-
+*/
class CURRENT_CONTROL
{
