Learn R Programming

serial (version 1.2)

read.serialConnection: Reads from the serial interface.

Description

This function reads from the serial interface as long as the buffer is not empty. The read takes place per byte.

Usage

read.serialConnection(con)

Arguments

con

serial connection

Value

The result is a string, which can be converted to raw as necessary

See Also

serial

Examples

Run this code
# NOT RUN {
 # See the top package documentation
# }

Run the code above in your browser using DataLab