Roy van Zijl
/
EMG
voor DION
Fork of EMG by
Diff: main.cpp
- Revision:
- 21:82bfc2fe215e
- Parent:
- 20:97059009a491
--- 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