Hello. I want to work by capsense in pic but I have a probelm. I use from tmr0 for base time and timer1.
when tmr0 be overflow should become t1gval toggle but I don't have any change on t1gval.
the Important registers are.
is there anyone to help me??
Thanks.
movlw b'11000101'
MOVWF OPTION_REG
movlw b'11000101'
movwf T1CON
BANKSEL T1GCON
BCF T1GCON,T1GSS1
BSF T1GCON,T1GSS0
BCF T1GCON,T1GGO
BCF T1GCON,T1GSPM
BSF T1GCON,T1GTM
BSF T1GCON,T1GPOL
BSF T1GCON,TMR1GE