voor DION

Dependencies:   HIDScope mbed

Fork of EMG by Tom Tom

Revision:
21:82bfc2fe215e
Parent:
20:97059009a491
diff -r 97059009a491 -r 82bfc2fe215e main.cpp
--- a/main.cpp	Thu Sep 22 08:53:50 2016 +0000
+++ b/main.cpp	Mon Nov 06 14:46:01 2017 +0000
@@ -8,6 +8,7 @@
 Ticker      sample_timer;
 HIDScope    scope( 2 );
 DigitalOut  led(LED1);
+DigitalOut  led2(LED_GREEN);
 
 /** Sample function
  * this function samples the emg and sends it to HIDScope
@@ -33,5 +34,6 @@
     sample_timer.attach(&sample, 0.002);
 
     /*empty loop, sample() is executed periodically*/
-    while(1) {}
+    while(true) {
+        }
 }
\ No newline at end of file