Documentation
¶
Overview ¶
Package serial controls serial communication over USB
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serial ¶
type Serial struct { Messenger *messenger.Messenger // messenger object sync.Mutex // contains filtered or unexported fields }
Serial communicates with a serial port
func NewConnection ¶
func NewConnection(port string, maxPacketLen int, timeout time.Duration, msgr *messenger.Messenger) (*Serial, error)
NewConnection creates a new serial connection with a unix filename
Click to show internal directories.
Click to hide internal directories.