serial port dropdown

This commit is contained in:
2026-04-04 00:42:19 +01:00
parent 13b4f78905
commit ffe363e777
2 changed files with 26 additions and 3 deletions

9
src/serial/serial.go Normal file
View 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
}