2nd draft

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed Servo

Fork of robot_mockup by Martijn Kern

Revision:
40:d62f96ed44c0
Parent:
39:e77f844d10d9
Child:
41:55face19e06b
diff -r e77f844d10d9 -r d62f96ed44c0 main.cpp
--- a/main.cpp	Fri Oct 23 00:36:37 2015 +0000
+++ b/main.cpp	Fri Oct 23 07:35:52 2015 +0000
@@ -215,6 +215,7 @@
 //PID filter (lowpass ??? Hz)
 biquadFilter     derfilter( low_a1 , low_a2 , low_b0 , low_b1 , low_b2 );   // derivative filter
 
+
 /*--------------------------------------------------------------------------------------------------------------------
 ---- DECLARE FUNCTION NAMES ------------------------------------------------------------------------------------------
 --------------------------------------------------------------------------------------------------------------------*/
@@ -821,7 +822,7 @@
     scope.send();
     
     
-    //threshold detection! buffer?
+    //threshold detection! buffer or two thresholds?
        //TODO
     
     //analyze emg (= velocity)
@@ -1000,8 +1001,9 @@
    //endbox
    wait(1);
    pc.printf("[C]alibration\r\n"); wait(0.2);
-   pc.printf("[T]RIG Control with buttons\r\n"); wait(0.2);
-   pc.printf("[D]LS Control with buttons\r\n"); wait(0.2);
+   pc.printf("[T]RIG Control with WASD\r\n"); wait(0.2);
+   pc.printf("[D]LS Control with WASD\r\n"); wait(0.2);
+   pc.printf("[E]MG Control - DLS \r\n"); wait(0.2);
    pc.printf("[Q]uit Robot Program\r\n"); wait(0.2);
    pc.printf("[R]ed LED\r\n"); wait(0.2); 
    pc.printf("[G]reen LED\r\n"); wait(0.2);