Gets user Input to turn the servo to certain degrees
servo.h@3:5b6a55afc60a, 2019-01-13 (annotated)
- Committer:
- hzelayasolano22
- Date:
- Sun Jan 13 22:04:47 2019 +0000
- Revision:
- 3:5b6a55afc60a
- Parent:
- 2:9d9717796ab2
- Child:
- 7:78973b67cd90
Finished Servo.cpp functions
Who changed what in which revision?
User | Revision | Line number | New 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 | 2:9d9717796ab2 | 4 | |
hzelayasolano22 | 2:9d9717796ab2 | 5 | void setServo(); |
hzelayasolano22 | 3:5b6a55afc60a | 6 | void moveServo(char a); |
hzelayasolano22 | 3:5b6a55afc60a | 7 | int pulsewidth(int a); |