Skip to content

DTR status not set #42

@ovianao

Description

@ovianao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions