serial port dropdown
This commit is contained in:
9
src/serial/serial.go
Normal file
9
src/serial/serial.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package serial
|
||||
|
||||
func Get_Ports() []string {
|
||||
|
||||
//will eventually hold a list of connected usb devices with matching ID
|
||||
ports := []string{"/dev/tty0","/dev/tty2","/dev/tty3"}
|
||||
|
||||
return ports
|
||||
}
|
||||
Reference in New Issue
Block a user