SerialPort.Clear (gb.net)

Sub Clear ( [ Buffer As Integer ] )

Depuis 3.16

Clear the input/output buffers.

  • Buffer tells which buffers must be cleared:
    • gb.Input for the input buffer.

    • gb.Output for the output buffer.

    • gb.Input + gb.Output for both.

By default, both buffers are cleared.