hidscope herkent m'n device niet.

Dependencies:   HIDScope mbed biquadFilter

Revision:
0:e7f5d0b44e22
Child:
1:d357a1e80389
diff -r 000000000000 -r e7f5d0b44e22 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Oct 20 10:20:58 2016 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "HIDScope.h"
+
+
+AnalogIn emg1(A1);
+AnalogIn emg2(A2);
+HIDScope scope(1);
+Ticker ticker;
+
+void tick() {
+    scope.set(0, emg1.read());
+    scope.set(1, emg2.read());
+    scope.send();
+}
+
+int main()
+{
+   ticker.attach(&tick, 1/1200);
+   while (true);
+}
\ No newline at end of file