:)
Dependencies: HIDScope MODSERIAL mbed-dsp mbed
Fork of emg_filter by
Revision 40:f45c41cdae3a, committed 2014-10-20
- Comitter:
- Tanja2211
- Date:
- Mon Oct 20 07:59:30 2014 +0000
- Parent:
- 39:39940fb9277d
- Child:
- 41:391d2dbb6756
- Commit message:
- snelheidsstand biceps;
Changed in this revision
EMGfilter.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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"); }