Learn R Programming

serial (version 1.1)

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 perbyte.

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
# See the top package documentation

Run the code above in your browser using DataLab