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: Encoder HIDScope MODSERIAL biquadFilter mbed
Fork of vanEMGnaarMOTORPauline_States_nacht by
Revision 30:b76c27e4730c, committed 2017-11-07
- Comitter:
- Gerber
- Date:
- Tue Nov 07 08:54:37 2017 +0000
- Parent:
- 29:69cc48b3feaa
- Commit message:
- Hij geeft geen foutmeldingen!
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 07 08:52:34 2017 +0000
+++ b/main.cpp Tue Nov 07 08:54:37 2017 +0000
@@ -193,7 +193,7 @@
if(Timescalibration<2000)
{
- pc.printf("calibration rest EMG \r\n");
+ pc.printf("calibration rest EMG, 12 seconds \r\n");
led = 1;
emgNotchLB = NFLB.step(emgLB.read() );
@@ -230,7 +230,7 @@
}
if(Timescalibration>2000 && Timescalibration<3000)
{
- pc.printf("maximum left biceps \r\n");
+ pc.printf("maximum left biceps, 6 seconds \r\n");
led = 1;
emgNotchLB = NFLB.step(emgLB.read() );
emgHPLB = HPFLB.step(emgNotchLB);
@@ -245,7 +245,7 @@
if(Timescalibration>3000 && Timescalibration<4000)
{
- pc.printf(" maximum right biceps \r\n");
+ pc.printf(" maximum right biceps, 6 seconds \r\n");
led = 0;
emgNotchRB = NFRB.step(emgRB.read());
emgHPRB = HPFRB.step(emgNotchRB);
@@ -260,7 +260,7 @@
if(Timescalibration>4000 && Timescalibration<5000)
{
- pc.printf("maximum left triceps \r\n");
+ pc.printf("maximum left triceps, 6 seconds \r\n");
led = 1;
emgNotchLT = NFLT.step(emgLT.read() );
emgHPLT = HPFLT.step(emgNotchLT);
@@ -275,7 +275,7 @@
if(Timescalibration>5000 && Timescalibration<6000)
{
- pc.printf("maximum right triceps");
+ pc.printf("maximum right triceps, 6 seconds \r\n");
emgNotchRT = NFRT.step(emgRT.read() );
emgHPRT = HPFRT.step(emgNotchRT);
emgAbsHPRT = abs(emgHPRT);
