@bmanos you should declare int counter
in the header, not in the void loop()
. The way you did it I think it will be set to 0 in each loop, never reaching 120. And of course @jkandasa is right, it has to be if (counter == 120)
A
Best posts made by Anduril
-
RE: About battery level