Serial port question
Serial port question
Is there any way, how to flush(or delete) input buffer?
you discard it by reading out the buffer :
Code: Select all
While AvailableSerialPortInput(#SerialPort)
ReadSerialPortData(#SerialPort, @temp.l, 4)
Wend