![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
lololololol
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()