flush.serialConnection {serial}R Documentation

Flushes the connection.

Description

Some times (and depending on buffering mode) the connection buffer needs to be flushed manually. This command empties the buffer by sending all remaining bytes.

Usage

## S3 method for class 'serialConnection'
flush(con)

Arguments

con

serial connection

Value

Nothing is returned

See Also

serial

Examples

 # See the top package documentation

[Package serial version 3.0 Index]