may I surgest using the
PAUSE
command then the amount time required in seconds
while 1
while $RXDATA (and !$RXDATA)
comread DataVal
when dataval call EXIT_LOOP
if iEXIT==1
exitwhile
endif
endwhile
PAUSE 30 ;30 seconds...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.