Documentation ¶
Overview ¶
Package com reads from COM port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Baud is the configured baudrate of the serial port. It is set as command line parameter. Baud int // Databits is the serial port bit count fpr 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 )
Functions ¶
Types ¶
type PortGoBugSt ¶
type PortGoBugSt struct {
// contains filtered or unexported fields
}
PortGoBugSt is a serial device trice receiver
func NewCOMPortGoBugSt ¶
func NewCOMPortGoBugSt(w io.Writer, verbose bool, comPortName string) *PortGoBugSt
NewCOMPortGoBugSt creates an instance of a serial device type trice receiver
func (*PortGoBugSt) Open ¶
func (p *PortGoBugSt) Open() bool
Open initializes the serial receiver.
It opens a serial port.
Click to show internal directories.
Click to hide internal directories.