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
}
DELAY PROBLEM
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: DELAY PROBLEM
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: DELAY PROBLEM
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
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
Martin