flush.serialConnection: Flushes the connection.

Description Usage Arguments Value See Also Examples

View source: R/flush.R

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

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

Arguments

con

serial connection

Value

Nothing is returned

See Also

serial

Examples

1
 # See the top package documentation

Example output

Attaching package: 'serial'

The following object is masked from 'package:base':

    isOpen

Warning message:
no DISPLAY variable so Tk is not available 

serial documentation built on July 1, 2020, 10:53 p.m.