mech / Mbed 2 deprecated line-trace3

Dependencies:   mbed line-trace2

Revision:
0:764148148257
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/count.h	Sat Dec 01 16:10:49 2018 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+
+///////////////////////////////////////
+int count1 = 0;
+int count2 = 0;
+int distance1 = 0;
+int distance2 = 0;
+int distance = 0;
+
+void flip1() {
+    count1++;
+    distance1++;
+}
+
+void flip2() {
+    count2++;
+    distance2++;
+}