If I understood correcly, this should help you:
When flag count reach 100 * 100 ms = 10 secs. You can vary the total delay changing the 100 to the best value that fit your project.Code:Flag=0 loop1: Flag=Flag+1 If flag=>100 then goto Jumpout SERIN2 serialpinin,16468,100,loop1,[wait(254),a,b,c,d,e,f,g,h,i,j,k,l] Jumpout:
Al.




Bookmarks