ar_flush: Flush serial port

Description Usage Arguments Examples

View source: R/RcppExports.R

Description

clearing the serial port's buffer

Usage

1

Arguments

fd

File descriptor returned by ar_init(). Should be an integer.

Examples

1
2
3
4
5
## Not run: 
con <- ar_init("/dev/cu.SLAB_USBtoUART")
ar_flush(con)

## End(Not run)

hebrewseniorlife/arduinor documentation built on May 24, 2019, 8:51 a.m.