OK, I bricked 2 of these chips now... With this code?
It works fine until I add the above into my program, then it seems portb.7 gets fried and I have to replace the chip to program again.Code:Capture VAR PIR1.2 T1CON.5=1 '1:4 prescaler T1CON.4=0 '1:4 prescaler T1CON.3=1 'Timer1 OSC enabled T1CON.2=1 'sychro clock T1CON.1=0 'internal clock T1CON.0=1 'start timer
Bookmarks