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: HIDScope mbed MODSERIAL QEI
Diff: main.cpp
- Revision:
- 1:50ae89200a53
- Parent:
- 0:2d9dae739559
- Child:
- 2:a08bff88216d
--- a/main.cpp Fri Oct 13 09:45:14 2017 +0000 +++ b/main.cpp Fri Oct 13 09:50:30 2017 +0000 @@ -7,7 +7,7 @@ AnalogIn EMGData_2( A1 ); AnalogIn EMGData_3( A2 ); -HIDScope scope(4); // We’re going to send 4 channels of data +HIDScope scope(4); // 4 channels of data Ticker MainTicker; MODSERIAL pc(USBTX, USBRX); @@ -87,9 +87,10 @@ /*****/ //Send scope data - scope.set(0, EMG_Filtered_1); - scope.set(1, EMG_Abs_1); - scope.set(2, EMG_Envelope_1); + scope.set(0, EMGData_1); //Raw Data + scope.set(1, EMG_Filtered_1); //Notch and High Pass Filtered + scope.set(2, EMG_Abs_1); //Absolute value + scope.set(3, EMG_Envelope_1); //Envelope Detected output scope.send(); /*****/