Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial port busy #106

Open
lengnuan-v opened this issue Apr 22, 2021 · 1 comment
Open

Serial port busy #106

lengnuan-v opened this issue Apr 22, 2021 · 1 comment

Comments

@lengnuan-v
Copy link

lengnuan-v commented Apr 22, 2021

Serial port busy

	var err error
	var port serial.Port
	if port, err = serial.Open(name, &serial.Mode{DataBits: 8, BaudRate: 9600}); err != nil {
		fmt.Println(1)
		return err
	}

port return nil

@cmaglie
Copy link
Member

cmaglie commented Sep 6, 2021

It's the serial port really "busy"? Do you have permissions to open? what's the value of name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants