10 lines
190 B
Go
10 lines
190 B
Go
package serial
|
|
|
|
func GetPorts() []string {
|
|
|
|
//will eventually hold a list of connected usb devices with matching ID
|
|
ports := []string{"/dev/tty0","/dev/tty2","/dev/tty3"}
|
|
|
|
return ports
|
|
}
|