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.
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
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!
Bookmarks