Page 1 of 1

Re: DELAY PROBLEM

Posted: Thu May 20, 2010 8:54 am
by Benj
Hello,

Are you using a loop similar to this.

Loop
{
Output 1
Delay
Output 2
}

If so then your Output 1 will be seen but the Output 2 is on and off so fast that you will not see it. You will need 2 delays to allow your program to toggle correctly.

Loop
{
Output 1
Delay
Output 2
Delay
}

Re: DELAY PROBLEM

Posted: Thu Jun 10, 2010 5:39 am
by medelec35
Hello scorpy77.
For microsecond delays, you will require a C code block.
Then for 10 microseconds delay use delay_10us(1);
for 500 microseconds delay use delay_10us(50); etc.

See:
http://www.matrixmultimedia.com/mmforum ... 86&p=17180