Gets user Input to turn the servo to certain degrees
Diff: servo.h
- Revision:
- 3:5b6a55afc60a
- Parent:
- 2:9d9717796ab2
- Child:
- 7:78973b67cd90
diff -r 9d9717796ab2 -r 5b6a55afc60a servo.h --- a/servo.h Sun Jan 13 21:57:11 2019 +0000 +++ b/servo.h Sun Jan 13 22:04:47 2019 +0000 @@ -3,4 +3,5 @@ #include "mbed.h" void setServo(); -void moveServo(char a); \ No newline at end of file +void moveServo(char a); +int pulsewidth(int a); \ No newline at end of file