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: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: main.cpp
- Revision:
- 32:7355524d862f
- Parent:
- 31:465a6e1e1db6
- Child:
- 33:1da600f06862
diff -r 465a6e1e1db6 -r 7355524d862f main.cpp
--- a/main.cpp Wed Oct 30 16:04:43 2019 +0000
+++ b/main.cpp Wed Oct 30 18:17:00 2019 +0000
@@ -574,11 +574,11 @@
pc.printf("beweging %f \n\r", EMGy_velocity);
}
- /*if ((pressed_1) || (pressed_2) || (emg_switch(treshold_leg,EmgCalibration(emgFiltered_leg, mvc_value_leg, rest_value_leg)))) { // EMG gebaseerde threshold aanmaken
+ if ((pressed_1) || (pressed_2) /*|| (emg_switch(treshold_leg,EmgCalibration(emgFiltered_leg, mvc_value_leg, rest_value_leg)))*/) { // EMG gebaseerde threshold aanmaken
CurrentState = horizontal_movement;
StateChanged = true;
- }*/
- }
+ }
+}
void while_horizontal_movement()