Wil je hier nog je PID controler kort uitleggen? Is sneller denk ik. Rest is gedaan volgens mij. Hier zit kall in.

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed

Fork of another_try_from_scratch_on_emg by Floor Couwenberg

Revision:
1:30d46f7e5150
Parent:
0:34c739fcc3e0
Child:
2:025d9065b25f
--- a/main.cpp	Fri Oct 21 12:11:44 2016 +0000
+++ b/main.cpp	Fri Oct 21 12:17:41 2016 +0000
@@ -18,7 +18,7 @@
         led=!led;
                      
         //send signals  to scope
-        scope.set(0, emg0.read() );           //set emg signal to scope in channel 1
+        scope.set(0, emg_0_value );           //set emg signal to scope in channel 1
         scope.set(1, emg_0_value );    
         scope.send();                       //send all the signals to the scope
                 }