Hi guys.
i want to use this code as an increment, but the problem is that i need several counters. the thing is, how can i distinguish them??
int time = 0;
setup()
{
time = 0;
}
loop()
{
time++;
}
Hi guys.
i want to use this code as an increment, but the problem is that i need several counters. the thing is, how can i distinguish them??
int time = 0;
setup()
{
time = 0;
}
loop()
{
time++;
}
Give them different names?
the problem is that i need several counters.
In that code, you one have one. What you are counting is NOT time, so time is a really dumb name.
Your code won't even compile. Why didn't you post some REAL code, that will compile?
What are you really trying to do?