asdfasdf
Dependencies: HIDScope MODSERIAL PID QEI biquadFilter mbed
Fork of cpfromralph by
Diff: main.cpp
- Revision:
- 44:8872b20bc1bd
- Parent:
- 43:9115c84145c6
- Child:
- 45:d257047912c1
diff -r 9115c84145c6 -r 8872b20bc1bd main.cpp --- a/main.cpp Fri Nov 03 04:15:38 2017 +0000 +++ b/main.cpp Fri Nov 03 04:26:04 2017 +0000 @@ -1,5 +1,5 @@ #include "mbed.h" -#include "HIDScope.h" +//#include "HIDScope.h" #include "MODSERIAL.h" #include "BiQuad.h" #include "QEI.h" @@ -24,7 +24,7 @@ Ticker max_read3; Ticker Motorcontrol; Ticker tencoder; - HIDScope scope( 4 ); + //HIDScope scope( 4 ); DigitalOut red(LED_RED); DigitalOut blue(LED_BLUE); DigitalOut green(LED_GREEN); @@ -620,11 +620,11 @@ } // Set the sampled emg values in channel 0 (the first channel) and 1 (the second channel) in the 'HIDScope' instance named 'scope' - scope.set(0, MOVAVG_RB ); // plot Right biceps voltage - scope.set(1, MOVAVG_LB ); // Plot Left biceps voltage - scope.set(2, MOVAVG_LL ); // Plot Lower Left Arm voltage - scope.set(3, MOVAVG_RL ); // Plot Lower Right Arm Voltage - scope.send(); // send everything to the HID scope + //scope.set(0, MOVAVG_RB ); // plot Right biceps voltage + //scope.set(1, MOVAVG_LB ); // Plot Left biceps voltage + //scope.set(2, MOVAVG_LL ); // Plot Lower Left Arm voltage + //scope.set(3, MOVAVG_RL ); // Plot Lower Right Arm Voltage + //scope.send(); // send everything to the HID scope }