probeer maar wat

Dependencies:   HIDScope biquadFilter mbed

Files at this revision

API Documentation at this revision

Comitter:
gastongab
Date:
Tue Oct 30 09:15:19 2018 +0000
Parent:
0:83108f9ff38b
Commit message:
dit is een commit;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 83108f9ff38b -r 1fd8a80ad5df main.cpp
--- a/main.cpp	Mon Oct 29 17:28:17 2018 +0000
+++ b/main.cpp	Tue Oct 30 09:15:19 2018 +0000
@@ -137,7 +137,7 @@
 }  
 
 void setscope(){
-//scope.set(0,emg1.read());  
+scope.set(0,emg1.read());  
 scope.set(1,emg1_filtered); 
 scope.send();
 } 
@@ -145,6 +145,6 @@
 int main()
 {
     sample_ticker.attach(&emg_samples,0.002); //fsample = 500Hz for every ticker
-    main_ticker.attach(&setscope,0.0);
+    main_ticker.attach(&setscope,0.1);
    while (true){}  
 }  
\ No newline at end of file