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

DTR status not set #42

Open
ovianao opened this issue Apr 27, 2021 · 0 comments
Open

DTR status not set #42

ovianao opened this issue Apr 27, 2021 · 0 comments

Comments

@ovianao
Copy link

ovianao commented Apr 27, 2021

I fail to see how the self.enable_dtr is forwarded to the Serial connection, since we no longer call self.comm.setDtr() beyond this commit 02124aa.

In Windows (at least), instantiating Arduino with enable_dtr=False (which is the default) does not prevent the Arduino from resetting, as the DTR flag is still set to True on the Serial connection:

self.dtr = self.enable_dtr

This is validated by checking for self.comm.dtr after the Serial port has already been open.

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

1 participant