probeer maar wat
Dependencies: HIDScope biquadFilter mbed
Diff: main.cpp
- Revision:
- 1:1fd8a80ad5df
- Parent:
- 0:83108f9ff38b
--- 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