RT2_P3_students / Mbed OS RT2_P3_students

Unwrapper.h

Committer:
altb2
Date:
2019-03-06
Revision:
18:f844dbc8ea87

File content as of revision 18:f844dbc8ea87:

/*  
*/

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;

};