Available on crate feature
serial only.Expand description
Convenience integration with the serialport crate.
serialport::SerialPort already implements std::io::Read +
std::io::Write, so the blocking adapter
works on it directly. This module provides a tiny open helper that
configures sensible defaults for talking to Marlin in binary mode.
Functionsยง
- builder
- Return a
SerialPortBuilderpreconfigured with the same defaults asopen, but unopened, so the caller can apply further tweaks before calling.open(). - open
- Open a serial port with defaults suitable for Marlin BFT: