simplify for single SG90
Fork of SG90 by
SG90.h
- Committer:
- oldmon
- Date:
- 2018-06-18
- Revision:
- 1:93e46a70966f
- Parent:
- 0:a62b163b1dbb
File content as of revision 1:93e46a70966f:
#ifndef SG90_H #define SG90_H #include "mbed.h" class SG90:public PwmOut{ public: SG90(PinName pwnPin); void SetAngle(float fAngle); private: int iPreRotate; }; #endif