Documentation ¶
Overview ¶
Package console provides functions to interact with the console via a serial port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConsole ¶
func GetConsole(path string, baud int) (io.ReadWriteCloser, error)
GetConsole opens a serial port at the specified path and baud rate. It returns an io.ReadWriteCloser for the port, or an error if the port cannot be opened.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.