init
throttle.h
- Committer:
- gert_lauritsen
- Date:
- 2016-03-09
- Revision:
- 3:756f6e19ee2d
- Parent:
- 0:f9937e19c867
File content as of revision 3:756f6e19ee2d:
#ifndef ThrottleCtrl_H #define ThrottleCtrl_H #include "mbed.h" class ThrottleCtrl{ private: PwmOut _servo; public: ThrottleCtrl(PinName servo); int MaxPos, MinPos; float pulswidth; void set(float pos); }; #endif