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:
92:12e2e57e900a
Parent:
80:8f030bd5dd15
--- a/emg.h	Wed Oct 21 11:13:10 2015 +0200
+++ b/emg.h	Wed Oct 21 10:28:42 2015 +0000
@@ -10,6 +10,10 @@
 extern DigitalOut  greenLed;
 extern DigitalOut  blueLed;
 
+extern const int normalize;
+extern const int sample;
+extern bool emg_mode;
+
 extern const double sample_frequency; 
 
 extern const int     normalize_time;
@@ -44,5 +48,6 @@
 extern const double a12_gain, a12_a1, a12_a2, a12_b0, a12_b1, a12_b2; 
 extern const double a13_gain, a13_a1,  a13_a2, a13_b0, a13_b1, a13_b2;
 
+
 void readEMG();
 #endif