Work in progress...

Dependencies:   ESC FreeIMU mbed-rtos mbed

Experiment - work in progress...

Revision:
1:acb2e0f9d1bc
Parent:
0:22b18227d29e
Child:
2:7439607ccd51
--- a/main.cpp	Fri Jul 19 03:29:42 2013 +0000
+++ b/main.cpp	Fri Jul 19 06:45:20 2013 +0000
@@ -33,13 +33,13 @@
         //compute new ESC values..
         
         //set it
-        esc1.setThrottle(0.5);
+        esc1 = 0.5;
         
         //finally output to ESCs
-        esc1.pulse();
-        esc2.pulse();
-        esc3.pulse();
-        esc4.pulse();
+        esc1();
+        esc2();
+        esc3();
+        esc4();
         
         Thread::wait(15);
     }