control for robotic arm that can play chess using a granular gripper

Dependencies:   Encoder mbed HIDScope Servo MODSERIAL

Fork of chessRobot by a steenbeek

Revision:
98:25528494287d
Parent:
80:8f030bd5dd15
Child:
113:7af0ae9a24c0
diff -r f0ae582fa3e1 -r 25528494287d emg.cpp
--- a/emg.cpp	Thu Oct 22 07:16:59 2015 +0000
+++ b/emg.cpp	Thu Oct 22 10:06:46 2015 +0200
@@ -14,14 +14,8 @@
 // Define program constants
 const int     on = 0;                   // On-constant for LEDs for program readability
 const int     off = 1;                  // Off-constant for LEDs for program readability
-const int     sample = 0;               // Constant for mode switching for program readability
-const int     normalize = 1;            // Constant for mode switching for program readability
 
 bool ledsEnable = false;
-//**********************************************************************************************
-bool mode               = normalize;         // Set program mode
-//**********************************************************************************************
-
 // Initialize sampling constants
 double emg_val1 = 0, emg_val2 = 0, emg_filt_val1 = 0, emg_filt_val2 = 0;
 
@@ -312,8 +306,5 @@
     }
 
     // Graphical output to HIDScope for debugging/ program check
-
-
-
 }