Function signal_gen_cjds66_lib::serial::open [−][src]
pub fn open(arg: &str) -> Result<Box<dyn SerialPort>>
Expand description
Open a serial communication link with the device, and configure it so it can communicate properly.
“arg” parameter (on Linux it defaults to “/dev/ttyUSB0”, on Windows it defaults to “COM3”):
ⓘ
Path to a serial device (Linux): "/dev/ttyUSB0" Path to a serial device (Windows): "COM3"