Using TMR0 to keep time


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default Re: Using TMR0 to keep time

    Download and use Mister_E's PicMultiCalc from http://www.picbasic.co.uk/forum/cont....-PICMultiCalc.

    It totally rocks and will calculate the settings you want.

    Best Regards,
    Paul
    The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.

  2. #2
    Join Date
    Nov 2011
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Using TMR0 to keep time

    Quote Originally Posted by prstein View Post
    Download and use Mister_E's PicMultiCalc from http://www.picbasic.co.uk/forum/cont....-PICMultiCalc.

    It totally rocks and will calculate the settings you want.

    Best Regards,
    Paul
    Alright, so the number I got for each interrupt was 512 uS. With the program I got 513-527 uS. I realized I didn't include the instruction cycle in the equation which adds on a uS per cycle, any idea on how I could figure out the instruction cycle number?

Members who have read this thread : 0

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