working version but stripped of most unnecessary code like print statements

Dependencies:   HIDScope MODSERIAL biquadFilter mbed FastPWM QEI

Files at this revision

API Documentation at this revision

Comitter:
RiP
Date:
Wed Oct 26 08:52:05 2016 +0000
Parent:
34:47f0a1436273
Child:
36:344588e69589
Commit message:
stripped version with hidscope

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 25 12:53:39 2016 +0000
+++ b/main.cpp	Wed Oct 26 08:52:05 2016 +0000
@@ -6,7 +6,6 @@
 //Define objects
 //Define the button interrupt for the calibration
 InterruptIn button_calibrate(PTA4);
-InterruptIn button_change_mode(PTC6);
 
 //Define the EMG inputs
 AnalogIn    emg1( A0 );
@@ -92,9 +91,7 @@
 void sample(states &mystate)
 {
     states myoldstate=mystate;
-
-   // key=pc.getcNb();
-
+    
     if (pc.readable()==1) {
         key=pc.getc();
         speed=0.000326;