RC SERVO FOR KL46Z

Dependencies:   Servo mbed

Files at this revision

API Documentation at this revision

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) {