Hello folks,

I would like to have a quick verifcation on a program, or is it me missing a link in my head?

The following program uses a pauseus statement
If I use Pauseus 1, it has 28 micosecond delay between spikes.
If I use Pauseus 5, it has 28 Microsecond delay between spikes.
If I use Pauseus 3, it has 30 Microsecond delay between spikes.
If I use Pauseus 10, It has a 28 Microsecond delay between spikes.

If I use a PAUSE 1 it has a 1 millisecond delay (which is good)

I probably have a screw loose upstairs that is baffling me on this situaion, and I have not figured it out yet.


Here is the complete code to simulate this senario:

@ DEVICE PIC12F675,INTRC_OSC_NOCLKOUT,WDT_ON,PWRT_OFF,BOD_O N,PROTECT_OFF,CPD_OFF,MCLR_OFF

CMCON=%00001000
TRISIO=%00000000


Loop:
GPIO=%00000001
GPIO=%00000000
pauseus 1 'replace this with the numbers mentioned above
GOTO Loop
end