You can try either using
yield
or
pause <time in sec>
or
Clears the receive data buffer. Any characters that have been received but not processed or displayed will be lost when rxflush executes.
Example
proc main
string DataStr ; Data from COM port.
rxflush...
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.