title: Create a 1 minute countdown timer that counts to zero, resets 4 times and stops using PIC18F46K20?
body: <p>Any ideas as to how i would go about this using MPLAB C18?</p>
  
  <pre><code>intCLKsecs++; //Should increase by one every second on every 
  InitSecs = 60; //Initialised time for a single korfball half
  timeLeft = korf_InitSecs-korf_intCLKsecs; //Time remaining
  displayTime(korf_timeLeft);
  </code></pre>
  
  <p>So far I have set-p the TIMER0 to overflow after 1 second by setting <code>TOCON = 0b0000001</code>
  The only issue is how i can implement the TIMER0 to increment my intCLKsecs variable by one every time the timer overflows, so the variable intCLKsecs should count the number of seconds that have passed. The function displayTime just converts the timeLeft into a clock format using %60.</p>