servom
Dependents: servomotore progetto8 progetto9 progetto10 ... more
Diff: SG90.h
- Revision:
- 1:de53826667ce
- Parent:
- 0:a62b163b1dbb
diff -r a62b163b1dbb -r de53826667ce SG90.h --- a/SG90.h Sat Apr 05 07:56:43 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#ifndef SG90_H -#define SG90_H -#include "mbed.h" -#include "PwmOut.h" - -class servo { - -public: - -PwmOut pwm1, pwm2, pwm3, pwm4; -servo(); - - -void init(); -void right(int); -void left(int); -void position(int, int); - -int s1, s2, s3, s4; - - - -}; -#endif \ No newline at end of file