Gets user Input to turn the servo to certain degrees
servo.h
- Committer:
- hzelayasolano22
- Date:
- 2019-01-14
- Revision:
- 7:78973b67cd90
- Parent:
- 3:5b6a55afc60a
File content as of revision 7:78973b67cd90:
#ifndef SERVO_H #define SERVO_H #include "mbed.h" extern PwmOut servo; void setServo(); void moveServo(char a); int pulsewidth(int a); #endif