PAUSE 7000 'waits for sequence to finish
This line will execute AFTER the sequence is finished.
So you wait 7 seconds additionaly; and while waiting nothing will take place.
PAUSE 7000 'waits for sequence to finish
This line will execute AFTER the sequence is finished.
So you wait 7 seconds additionaly; and while waiting nothing will take place.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
No, the first PIC does its sequencing then it waits 7 seconds for the next two PICs to sequence. Cause after an LED is turned on a 200ms pause happens so I have the first PIC waiting for all this to get done. The lights will stay on for another second or two then after the first PIC's pause is over the lights will begin to turn off.
I see.
Why Don't you do it by sending a kind of signal to each other?
Just like making a pin high etc...?
Would be safer I think.
---------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
I am sending a signal from PIC to PIC. Pic one sends the high signal to PIC two to start the side sequencing and after that the second PIC sends a high signal to PIC three to start the back sequencing. I just didnt wanna have to run a wire all the way from the back to the front just to send a high signal. Plus, if I have a PAUSE then I can control how long I want the LEDS to stay on when they are all lit.Originally Posted by sayzer
But other than that, does it seem okay?
Bookmarks