pour simone

Dependencies:   MPU6050 mbed

mycontroller.h

Committer:
ThomasGS
Date:
2016-06-03
Revision:
0:63c6db89607f
Child:
2:146ff0747375

File content as of revision 0:63c6db89607f:

#ifndef MYCONTROLLER_H
#define MYCONTROLLER_H

#include "mbed.h"

class brushlessservo
{
    public:
        brushlessservo();
        void gotothetha(int theta);
        void updatepwm();
        void test();
        
    private:
        int32_t realtheta;
        int32_t targettheta;
        int32_t phase[3];
        bool direction;
        int sineArraySize;
        
};


#endif