.

Dependents:  

Unwrapper_2pi.h

Committer:
altb
Date:
2018-10-17
Revision:
3:03e6c2a8a35a

File content as of revision 3:03e6c2a8a35a:

/*  
*/

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;

};