I tried using it with if and else statements but that still did not work
Then you did it wrong. You don't actually need the else
Try this
if (count >= 17)
{
count = 0;
}
Compare it with what you had in your program
I tried using it with if and else statements but that still did not work
Then you did it wrong. You don't actually need the else
Try this
if (count >= 17)
{
count = 0;
}
Compare it with what you had in your program