for DT's elasped timer , i dont setup timer 1 at all

Code:
 'Note:  Programming the T1GCON prior to T1CON is recommended
    T1GCON = %00000000     ' Timer 1 Gate Control bit7 0= counts regardless of gate 1 = gates in use  , bit6 gate active when 1= High  ,0=low
                           ' bit5 0= toggle mode diabled 1= enabled  bit4 single pulse mode 1- en 0= dis, bit 2 -status bit,1-0 - gate source sel
              ' 1
    T1CON  = %00000000     ' Timer 1 ,bit7-6 = TMR1 CLK source 00 = Instuction Clk(Fosc/4),01 =sys clk,10=ext clk,11=cap sense osc
                           ' bit5-4 = TMR1 prescale 00= 1:1 ,bit3=0 LP off,bit2=1 no sync ext CLK ,bit1= 0 n/a,Bit0=0 Timer 1 on/off
  
    TMR1H = 0              ' CLEAR TMR1H MODULE REGISTER
    TMR1L = 0              ' CLEAR TMR1L MODULE REGISTER