RC SERVO FOR KL46Z modificado con slider

Dependencies:   SLCD Servo mbed tsi_sensor

Fork of SERVOCONTROL by MARIO DERRANT

Revision:
0:f0854ea82f82
Child:
1:f718f736947a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Jul 18 18:19:57 2014 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "Servo.h"
+
+Servo s1(PTA1);
+Servo s2(PTA2);
+
+AnalogIn p1(PTD3);
+AnalogIn p2(PTA12);
+
+int main() {
+    while(1) {
+        s1=p1;
+        s2=p2;        
+        wait(0.1);
+    }
+}