mech / Mbed 2 deprecated line-trace3

Dependencies:   mbed line-trace2

Committer:
isshikiyuya
Date:
Sat Dec 01 16:10:49 2018 +0000
Revision:
0:764148148257
?new

Who changed what in which revision?

UserRevisionLine numberNew contents of line
isshikiyuya 0:764148148257 1 #include "mbed.h"
isshikiyuya 0:764148148257 2
isshikiyuya 0:764148148257 3 ///////////////////////////////////////
isshikiyuya 0:764148148257 4 int count1 = 0;
isshikiyuya 0:764148148257 5 int count2 = 0;
isshikiyuya 0:764148148257 6 int distance1 = 0;
isshikiyuya 0:764148148257 7 int distance2 = 0;
isshikiyuya 0:764148148257 8 int distance = 0;
isshikiyuya 0:764148148257 9
isshikiyuya 0:764148148257 10 void flip1() {
isshikiyuya 0:764148148257 11 count1++;
isshikiyuya 0:764148148257 12 distance1++;
isshikiyuya 0:764148148257 13 }
isshikiyuya 0:764148148257 14
isshikiyuya 0:764148148257 15 void flip2() {
isshikiyuya 0:764148148257 16 count2++;
isshikiyuya 0:764148148257 17 distance2++;
isshikiyuya 0:764148148257 18 }