Documentation ¶
Overview ¶
Package com reads from COM port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SerialPortName is the OS specific serial port name used SerialPortName string // BaudRate is the configured baud rate of the serial port. It is set as command line parameter. BaudRate int // DataBits is the serial port bit count for one "byte". DataBits int // Parity is the transmitted bit parity: "even", "odd", "none" Parity string // StopBits is the number of stop bits: "1", "1.5", "2" StopBits string // Verbose shows additional information if set true. Verbose = false )
Functions ¶
func GetSerialPorts ¶
GetSerialPorts scans for serial ports.
Types ¶
Click to show internal directories.
Click to hide internal directories.