07-21-2005 11:44 PM
07-22-2005 02:22 AM
07-22-2005 03:11 AM
07-22-2005 03:22 AM
What you should probably do is seperate the application into several loops (communication loop, user interface loop and so on). If the loops are not connected to each other, they will run in parallel. Then, your comm loop can hold for 3 seconds and you can still blink the LED in the other loop.
Another way to do this blinking would be to set the Blinking property of the LED to T. When you do this, it will start blinking between its current color and another color, and it will do so without any connection to the code - there is no need to change the value of the LED.
You can set the property by right clicking the LED and selecting Create>>Property Node. Then, select the Blinking property and change it to write. Wire T into it when you want it to start blinking and F when you want it to stop. You can set the blink properties through the options menu (they're global).
07-22-2005 07:13 AM