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.
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:
PyCmdMessenger/PyCmdMessenger/arduino.py
Line 160 in 215d6f9
This is validated by checking for self.comm.dtr after the Serial port has already been open.