MARIO DERRANT
/
SERVOCONTROL
RC SERVO FOR KL46Z
Revision 1:f718f736947a, committed 2014-07-18
- Comitter:
- mderrant
- Date:
- Fri Jul 18 18:36:32 2014 +0000
- Parent:
- 0:f0854ea82f82
- Child:
- 2:3604d4f17475
- Commit message:
- RC SERVO CONTROL FOR KL46Z
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jul 18 18:19:57 2014 +0000 +++ b/main.cpp Fri Jul 18 18:36:32 2014 +0000 @@ -1,11 +1,11 @@ #include "mbed.h" #include "Servo.h" -Servo s1(PTA1); -Servo s2(PTA2); +Servo s1(PTA13); +Servo s2(PTD2); -AnalogIn p1(PTD3); -AnalogIn p2(PTA12); +AnalogIn p1(PTD7); +AnalogIn p2(PTA5); int main() { while(1) {