init

throttle.h

Committer:
gert_lauritsen
Date:
2015-05-20
Revision:
0:f9937e19c867
Child:
3:756f6e19ee2d

File content as of revision 0:f9937e19c867:

#ifndef ThrottleCtrl_H
#define ThrottleCtrl_H
#include "mbed.h"

class ThrottleCtrl{
private:
PwmOut _servo;

public:
 ThrottleCtrl(PinName servo);
 int MaxPos, MinPos;
 void set(float pos);
};

#endif