Gets user Input to turn the servo to certain degrees
servo.h@2:9d9717796ab2, 2019-01-13 (annotated)
- Committer:
- hzelayasolano22
- Date:
- Sun Jan 13 21:57:11 2019 +0000
- Revision:
- 2:9d9717796ab2
- Parent:
- 0:1f19faa3ee1f
- Child:
- 3:5b6a55afc60a
servo.cpp for Lab almost done
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 | 2:9d9717796ab2 | 6 | void moveServo(char a); |