FastPWM library, modified by benkatz

Dependents:   WangBoard_MotorScience

Fork of FastPWM3 by Ben Katz

Revision:
27:9c0cc4d4a0bf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/filters.h	Wed Jun 15 05:24:05 2016 +0000
@@ -0,0 +1,13 @@
+#ifndef __FILTERS_H
+#define __FILTERS_H
+
+class MeanFilter {
+public:
+    MeanFilter(float strength);
+    virtual float Update(float x);
+private:
+    float _mean;
+    float _strength;
+};
+
+#endif
\ No newline at end of file