Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

Author Topic: problem by t1gval in pic assembly  (Read 21025 times)

0 Members and 1 Guest are viewing this topic.

mahdifah

  • Newbie
  • *
  • Posts: 3
problem by t1gval in pic assembly
« on: November 10, 2016, 16:47:56 PM »
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