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: QEI biquadFilter mbed HIDScope
Diff: NR_method_1.cpp
- Revision:
- 5:d3031d082c22
- Parent:
- 4:f16a18aa58bd
- Child:
- 6:e492bc8fc3fb
--- a/NR_method_1.cpp Thu Nov 01 11:31:21 2018 +0000 +++ b/NR_method_1.cpp Thu Nov 01 11:36:28 2018 +0000 @@ -9,6 +9,9 @@ #include "PID_controler.h" //#include <MODSERIAL.h> +// hidscope +HIDScope scope( 2 ); + bool bas; int waiting; InterruptIn button(SW3); @@ -366,6 +369,11 @@ position_define(); angle_define(); motor_controler(); + + + scope.set(1, emgFiltered3); // filtered 1 + scope.set(2, emgFiltered23); //filtered signal 2 + scope.send(); //sw2.fall(change); //Position1x(emgFiltered3);