.

Dependents:  

Revision:
3:03e6c2a8a35a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Unwrapper_2pi.h	Wed Oct 17 06:54:50 2018 +0000
@@ -0,0 +1,26 @@
+/*  
+*/
+
+using namespace std;
+
+class Unwrapper_2pi
+{
+public:
+
+    Unwrapper_2pi(void);
+    
+    float operator()(float in) {
+        return doStep(in);
+    }
+    
+    virtual     ~Unwrapper_2pi();
+    
+    void        reset(void);
+    float       doStep(float inc);
+
+private:
+
+    long turns;
+    float last_value;
+
+};
\ No newline at end of file