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.
Fork of EMG by
Diff: main.cpp
- Revision:
- 16:9f7797ffd0fb
- Parent:
- 15:0da764eea774
- Child:
- 18:e753220c7ba6
--- a/main.cpp Mon Sep 21 13:52:35 2015 +0000
+++ b/main.cpp Mon Sep 21 17:49:26 2015 +0000
@@ -1,5 +1,4 @@
#include "mbed.h"
-#include "MODSERIAL.h"
#include "HIDScope.h"
//Define objects
@@ -16,7 +15,7 @@
double emg_value = emg.read();
/* Second, set the sampled emg value in channel zero (the first channel) in the 'HIDScope' variable named 'scope' */
scope.set(0,emg_value);
- /* Repeat the step above if required for more channels (channel 0 up to 5 = 6 channels)
+ /* Repeat the step above if required for more channels (channel 0 up to 5 = 6 channels) */
/* Finally, send all channels to the PC at once */
scope.send();
}
