Open
Description
in the pre commit(f5a4685), use Refresh
func get port name Found port: COM1
last commit(0996f84), Found port: \Device\Serial0
func Refresh() []string {
ports, err := serial.GetPortsList()
if err != nil {
log.Fatal(err)
}
for _, port := range ports {
log.Printf("Found port: %v\n", port)
}
return ports
}
Is there a way to switch back to the original display?
Metadata
Assignees
Labels
No labels