PDA

View Full Version : T1 interrupt and preload confusion



amgen
- 13th September 2011, 21:14
I'm confused that raising the pre-load value for TMR1h and TMR1L slows down the interrupt. Doesn't raising the loaded value make the interrupt come sooner ? It has the opposite effect of slowing down the count.
I'm using DTints @ 10 hz and counting up to 10 to get a seconds count. Raising the load value slows the seconds count. Seems backwords. What am I missing?
thankyou
Don
Amgen

amgen
- 14th September 2011, 03:21
Brain fart......
I was looking at my reference seconds timer which that changes inversely to the PIC time, which changes correctly with preload changes.


Don

cncmachineguy
- 14th September 2011, 03:24
Simply put, your code. Yes you are correct, if you increase the pre-load, the timer will time out faster. That's all I can say about that without something to look at.

Oops, crossed posts!