T1 interrupt and preload confusion


Closed Thread
Results 1 to 3 of 3
  1. #1

    Default T1 interrupt and preload confusion

    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

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: T1 interrupt and preload confusion

    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

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: T1 interrupt and preload confusion

    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!
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts