I get a message from the micro-controller on the serial port, I'm using the 9600's baud rate. I have a program that receives messages from the Win32 API that receives the message. Sometimes it happens that I am not able to receive messages and then suddenly when I press Ctrl + C, a burst emerges. How can I clear a serial buffer so that I can avoid data flooding?
Thanks
does this.
When using Windows, using serial ports is quite useful.
Comments
Post a Comment