PAUSE statement


Closed Thread
Results 1 to 3 of 3

Thread: PAUSE statement

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    43

    Default PAUSE statement

    Is there a minimum time value for the PAUSE statement? I know you have to set the OSC speed but the PAUSE values are way off.
    Last edited by Archangel; - 22nd January 2011 at 04:19. Reason: spell

  2. #2
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    PAUSE 100 in my code is about 100 seconds PIC18F2450

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


    Did you find this post helpful? Yes | No

    Default

    I think the minimum for PAUSE is 1mS, shorter pauses should use PAUSEUS.

    There are up to 3 things to verify for the pause to work correctly.

    DEFINE OSC - Used to tell PBP what speed to use for calculating PAUSE,SERIN/OUT, and so forth
    OSCCON - Depending on the PIC used, this is to set the PIC to the desired speed
    In the config settings, internal or external OSC.

    If using INTERNAL OSC, verify default speed.
    -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