mech / Mbed 2 deprecated line-trace3

Dependencies:   mbed line-trace2

count.h

Committer:
isshikiyuya
Date:
2018-12-01
Revision:
0:764148148257

File content as of revision 0:764148148257:

#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++;
}