Open fcying opened 3 months ago
in the pre commit(f5a4685), use Refresh func get port name Found port: COM1 last commit(0996f84), Found port: \Device\Serial0
Refresh
Found port: COM1
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?
in the pre commit(f5a4685), use
Refresh
func get port nameFound port: COM1
last commit(0996f84),Found port: \Device\Serial0
Is there a way to switch back to the original display?