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: biquadFilter FastPWM MODSERIAL QEI mbed
Diff: main.cpp
- Revision:
- 10:584b7d2c2d63
- Parent:
- 9:8a162a3505ed
- Child:
- 11:2d1dfebae948
--- a/main.cpp Wed Oct 31 21:23:59 2018 +0000
+++ b/main.cpp Wed Oct 31 21:24:48 2018 +0000
@@ -49,6 +49,7 @@
void blinkLED(DigitalOut led) // blinkTimer.attach(&blinkLED,0.5) aanroepen bij initialisation, bij verlaten state:
{ // blinkTimer.detach
led =! led; // toggle LED
+}
// ============================ MOTOR FUNCTIONS ==============================
@@ -112,7 +113,7 @@
// Actions when leaving state
/* */
- currentState = calibratingEMGx; // change to state
+ currentState = calibratingEMG; // change to state
changeState = true; // next loop, switch states
}
break; // end case
