Commit 5f298c45 authored by Guillaume Seguin's avatar Guillaume Seguin

Sleep during reset to let the board see the DTR line change

parent a6df0acf
...@@ -107,6 +107,7 @@ class printcore(): ...@@ -107,6 +107,7 @@ class printcore():
""" """
if self.printer: if self.printer:
self.printer.setDTR(1) self.printer.setDTR(1)
time.sleep(0.2)
self.printer.setDTR(0) self.printer.setDTR(0)
def _readline(self): def _readline(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment