i think none understands my quetion.i want to run like this code ..
i want both programes to run apart from each other its just example so i can write my programe like this plz help
You can obtain the two leds flashing at a different interval with a couple of variable:
Code:
Dled Var Byte
Dled1 var Word
main: ' led will blink @ 0,1 sec; led1 will be on for 2 secs off for 0,2 sesc
Pause 1
Dled = Dled + 1
Dled1 = Dled1 + 1
If Dled =>100 then
Toggle led
Dled = 0
endif
If Dled1 = 1 then high led1
If Dled1 = 2000 low led1
If Dled1 =>2200 then Dled1 = 0
goto main
Al.
Bookmarks