I'm currently working on a project using the counter and interrupts. I have moslty completeted the project but i'm stuck on the counter incrementation part.
The following is my interrupt body:
PORTD |= (1<<6); // Turns ON BLUE LED
counter++; // counter increments
if (counter = ?)
In the above condition i want to know what is the MAXIMUM(?- in the pgm) value till the counter increments, so that when the counter reaches its MAX value, i can increment i++ and the counter automatically resets to ZERO. So, i want to know the overflow value of the counter in the atmega32u4.