ar_close: Close Connection to a serial port

Description Usage Arguments Examples

View source: R/RcppExports.R

Description

This function closes the connection opened by ar_init().

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_close(con)

## End(Not run)

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