Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HIDScope MODSERIAL mbed-dsp mbed
Fork of emg_filter by
Diff: EMGfilter.cpp
- Revision:
- 40:f45c41cdae3a
- Parent:
- 39:39940fb9277d
- Child:
- 41:391d2dbb6756
diff -r 39940fb9277d -r f45c41cdae3a EMGfilter.cpp
--- a/EMGfilter.cpp Mon Oct 20 07:56:33 2014 +0000
+++ b/EMGfilter.cpp Mon Oct 20 07:59:30 2014 +0000
@@ -219,9 +219,18 @@
}
int snelheidsstand;
snelheidsstand=yB1+yB2+yB3
- if (y==1) {
- pc.printf("Motor 2 beweegt\n");
+ if (snelheidsstand==1) {
+ pc.printf("Motor 1 beweegt met snelheid 1\n");
} else {
pc.printf("Motor 2 beweegt niet\n");
}
+ if (snelheidsstand==2) {
+ pc.printf("Motor 1 beweegt met snelheid 2\n");
+ } else {
+ pc.printf("\n");
+ }
+ if (snelheidsstand==3) {
+ pc.printf("Motor 1 beweegt met snelheid 3\n");
+ } else {
+ pc.printf("\n");
}
