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: Encoder HIDScope MODSERIAL mbed-dsp mbed
Fork of Lampje_EMG_Gr6 by
Diff: main.cpp
- Revision:
- 5:03105d8bf72c
- Parent:
- 4:40aa1fb60a24
- Child:
- 6:8f4138a811e0
--- a/main.cpp Thu Oct 16 13:29:48 2014 +0000
+++ b/main.cpp Thu Oct 16 13:30:53 2014 +0000
@@ -139,7 +139,7 @@
/*Empty!*/
/*Everything is handled by the interrupt routine now!*/
{
- char c = '0';
+
while(1) {
pc.printf("Span de biceps aan om het instellen te starten");
do {
@@ -152,7 +152,7 @@
while(filtered_biceps > 0.04) { //Wanneer het EMG signaal een piek geeft wordt het volgende uitgevoerd.
BlinkRed(20);
if (filtered_deltoid > 0.04){
- BlinkBlue(20)
+ BlinkBlue(20);
} else if (filtered_biceps < 0.04 && filtered_deltoid < 0.04) {
break;
}
