
//----------------------------------------------

/* Timer_2 is used as the timeout timer for the 
software multiplexed display. It is set to run
at 10ms interval and if there is no pulse for 
this (duration x 5 = 50mS ) clear`the display..*/

void timer2_int(void) interrupt 5
{
  ++timeOut;
  TF2 = 0; 
  
  if (timeOut == 5)
     {
      tmpResult = 0;
      sprintf(dispBuffer, "%04lu", tmpResult );
      timeOut = 0;
     }
}

//-----------------------------------------------
