dt int timer1 ignores offset value


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Location
    Kalamazoo
    Posts
    42


    Did you find this post helpful? Yes | No

    Default thanks for the reply.

    thanks for coming to my aid, guys. reload the value within the isr. now i know. the timer is working, with the offset with a new problem; im aiming for 3840 hz, and thats = 64233 offset value.
    instead, im getting 3030 hz. i used a different pic timer calculator because picmulticalc will not run in windows 7.
    this is not really a big problem, as i can adjust the offset value to get the exact frequency that im aiming for.

    Timer1 VAR WORD EXT ; what does the EXT stand for?

    thanks
    NAG CON WIFE!
    WIFE VAR MOOD

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by DDDvvv View Post
    im aiming for 3840 hz, and thats = 64233 offset value.
    instead, im getting 3030 hz.
    What OSC are you running at?

    64233 would be close for 20Mhz.
    With 16Mhz OSC it would give 3.06 Khz.

    picmulticalc will not run in windows 7
    Turn on XP compatability mode for PicMultiCalc.

    Timer1 VAR WORD EXT ; what does the EXT stand for?
    The EXT (external) modifier.
    http://www.picbasic.co.uk/forum/showthread.php?t=3891

    Scroll down to ... Using EXT with Variables.
    DT

  3. #3
    Join Date
    Dec 2009
    Location
    Kalamazoo
    Posts
    42


    Did you find this post helpful? Yes | No

    Smile

    thanks again for the reply. yes, i have the osc set for 16 mhz. there's my problem!

    about picmulticalc, it starts ok in windows 7 but when you click on any of the buttons (timer calc, timer helper, usart calc) i get a runtime error 713; missing msstdfmt.dll that needs to be installed. rather than troll the web searching for a "trojaned" file, i chose a different calc.

    thanks
    NAG CON WIFE!
    WIFE VAR MOOD

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default

    Hi,
    FYI, I run PICMultiCalc on Win7-64bit without any problems, no compatibility mode set or anything.

    /Henrik.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by HenrikOlsson View Post
    Hi,
    FYI, I run PICMultiCalc on Win7-64bit without any problems, no compatibility mode set or anything.

    /Henrik.
    Me too. And I can not find msstdfmt.dll on my machine??
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Dec 2009
    Location
    Kalamazoo
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    im using 32 bit windows 7. maybe thats the prob..
    NAG CON WIFE!
    WIFE VAR MOOD

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I also have win7 32 bit and no problems there either.
    Maybe you have a bad copy of multicalc?

    When I get back to the shop later to day I will upload the copy I have.
    Dave
    Always wear safety glasses while programming.

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