Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPySerialCommand ¶
This is the command to execute PySerial to get ports information
func GetToolchainPath ¶
This returns the path to toolchain directory
Types ¶
type SerialPort ¶
type SerialPort struct { Port string Description string Hwid string Manufacturer string SerialNumber string `json:"serial-number"` Vid string Product string }
func GetArduinoPort ¶
func GetArduinoPort(ports *SerialPorts) *SerialPort
type SerialPorts ¶
type SerialPorts struct {
Ports []SerialPort
}
func GetPorts ¶
func GetPorts() (*SerialPorts, error)
Click to show internal directories.
Click to hide internal directories.