Just want to know how do we clear the receive buffer of my serial port in C#. Seems like the data in the receive buffer just keep accumulating. For example, the flow of inc
Use port.DiscardOutBuffer(); and port.DiscardInBuffer(); to clear the serial port buffers
port.DiscardOutBuffer(); and port.DiscardInBuffer();