Delay macro variable problem
Posted: Wed Jul 14, 2010 8:10 pm
Hello
I have a little problem, please see the program enclosed.
I should expect that a square wave 50% on/off is, but it looks like that the variable is not working in the delay macro in uS.
As you can see, I did use one time a delay macro with a variable and one time without.
Please run the program and take a look on the oscilloscope.
For now I did not test it with mS and Seconds.
Please, tel me, what do I do wrong.
Thanks
I have a little problem, please see the program enclosed.
I should expect that a square wave 50% on/off is, but it looks like that the variable is not working in the delay macro in uS.
As you can see, I did use one time a delay macro with a variable and one time without.
Please run the program and take a look on the oscilloscope.
For now I did not test it with mS and Seconds.
Please, tel me, what do I do wrong.
Thanks