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 QEI biquadFilter mbed
Fork of EMG_Controller_5 by
Diff: emg.h
- Revision:
- 13:0adbf6a5de37
- Parent:
- 12:12c162dc8893
--- a/emg.h Fri Oct 28 11:46:44 2016 +0000
+++ b/emg.h Fri Oct 28 11:58:56 2016 +0000
@@ -2,7 +2,7 @@
#include "BiQuad.h"
//#include "HIDScope.h"
//Enum with states
-enum states {STATE_DEFAULT , STATE_CALIBRATION, STATE_RUN};
+enum states {STATE_DEFAULT , STATE_CALIBRATION, STATE_RUN, STATE_GRAB , STATE_MOVE};
//Variable called 'state'
states state = STATE_DEFAULT;
@@ -98,6 +98,7 @@
void run() {
state = STATE_RUN;
+
led.write(1);
}
