working version but stripped of most unnecessary code like print statements
Dependencies: HIDScope MODSERIAL biquadFilter mbed FastPWM QEI
Revision 16:9f7797ffd0fb, committed 2015-09-21
- Comitter:
- tomlankhorst
- Date:
- Mon Sep 21 17:49:26 2015 +0000
- Parent:
- 15:0da764eea774
- Child:
- 17:290d0b765a96
- Commit message:
- Simplification
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Sep 21 13:52:35 2015 +0000 +++ b/main.cpp Mon Sep 21 17:49:26 2015 +0000 @@ -1,5 +1,4 @@ #include "mbed.h" -#include "MODSERIAL.h" #include "HIDScope.h" //Define objects @@ -16,7 +15,7 @@ double emg_value = emg.read(); /* Second, set the sampled emg value in channel zero (the first channel) in the 'HIDScope' variable named 'scope' */ scope.set(0,emg_value); - /* Repeat the step above if required for more channels (channel 0 up to 5 = 6 channels) + /* Repeat the step above if required for more channels (channel 0 up to 5 = 6 channels) */ /* Finally, send all channels to the PC at once */ scope.send(); }