Hello,
Continuing with my serial project I face some issue.
Let say I have constant data arriving to com port.
At some point I close the port to not listen to it any more. serial.close
After some while I open the port again with serial.open
At this point I get old data arriving and not actual data.
How can I clear the buffer before I re-open the port?
Even when I close lazarus app and re run it, when I open com port I first get old data and I need some time when incoming data on port and lazarus serial data gets synced ... I am using virtual serial ports for testing perhaps this is an issue
Thanks and Regards Michoux