MMBasic for Windows - betas
Author
Message
TassyJim
Guru
Joined: 07/08/2011
Location: AustraliaPosts: 6249
Posted: 06:01am 22 Dec 2023
Every time you open a com port that has random data streaming in,
It is worth flushing the buffer.
A large buffer may take a few loops to clear it all.
do
junk$ - input$(255,#3)
loop until loc(#3) = 0
Jim