Documentation ¶
Overview ¶
Interface to serial port devices (Linux Mac OSX and Windows). SerialPortEx is an extended SerialPort with access to port params It is NOT auto instantiated to the flow Registry from this package, use serialproxy/serialex to autoadd to Registry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SerialPort ¶
type SerialPort struct { flow.Gadget Param flow.Input Port flow.Input To flow.Input From flow.Output }
Line-oriented serial port, opened once the Port input is set.
func (*SerialPort) Run ¶
func (w *SerialPort) Run()
Start processing text lines to and from the serial interface. Send a bool to adjust RTS or an int to pulse DTR for that many milliseconds. Registers as "SerialPort".
Click to show internal directories.
Click to hide internal directories.