rduinoConnect: Rduino connect
Description
Make a serial connection to an Arduino or similar device
Usage
rduinoConnect(baud = 38400, mode = "n,8,1", upload = TRUE,
arduino = NULL)
Arguments
upload
if TRUE, upload the ino file to the device
arduino
command used to run arduino as a shell command including
the path
This function does two things - uploads a .ino file to an Arduino, and
acts as a wrapper for the serialConnection
function of the serial package. The options for the communication mode
are available via the helpfile for the serialConnection
command.
Examples
Run this code# NOT RUN {
rduinoConnect()
rduinoClose()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab