corrections altb2

Dependencies:   FastPWM

Lib_Misc/Unwrapper.h

Committer:
altb2
Date:
2021-08-24
Revision:
3:8aa09988fa58
Parent:
0:d2e117716219

File content as of revision 3:8aa09988fa58:

/*  
*/

using namespace std;

class Unwrapper
{
public:

    Unwrapper(double);
    
    double operator()(short inc) {
        return doStep(inc);
    }
    
    virtual     ~Unwrapper();
    
    void        reset(void);
    double       doStep(short inc);

private:

    long last_value;
    double inc2rad;

};