Gets user Input to turn the servo to certain degrees

Dependencies:   mbed

Committer:
hzelayasolano22
Date:
Mon Jan 14 00:35:57 2019 +0000
Revision:
7:78973b67cd90
Parent:
3:5b6a55afc60a
FINISHED and IT WORKS

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hzelayasolano22 2:9d9717796ab2 1 #ifndef SERVO_H
hzelayasolano22 2:9d9717796ab2 2 #define SERVO_H
hzelayasolano22 2:9d9717796ab2 3 #include "mbed.h"
hzelayasolano22 7:78973b67cd90 4 extern PwmOut servo;
hzelayasolano22 2:9d9717796ab2 5 void setServo();
hzelayasolano22 3:5b6a55afc60a 6 void moveServo(char a);
hzelayasolano22 7:78973b67cd90 7 int pulsewidth(int a);
hzelayasolano22 7:78973b67cd90 8 #endif