* how do I start the timer for other values of time?
for example to generate an interrupt every 1 millisecond in a pic 16F876 clocked at 4 MHz timer1 so I boot:
Code: Select all
"TMR1L = lo (65535-1000) 'reinicialixa the counter value
"TMR1H = HI (65535-1000)
'INTCON =% 11000000
"t1con =% 11001001
"pie1.0 = 1
thanks