simplify for single SG90

Dependents:   lidarproj

Fork of SG90 by Mathias Lyngklip

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SG90.h Source File

SG90.h

00001 #ifndef SG90_H
00002 #define SG90_H
00003 #include "mbed.h"
00004 
00005 class SG90:public PwmOut{
00006 public:
00007     SG90(PinName pwnPin);
00008     void SetAngle(float fAngle);
00009 private:
00010     int iPreRotate;
00011 };
00012 #endif