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

master
Guillaume Seguin 2012-08-03 23:56:52 +02:00
parent a6df0acfa1
commit 5f298c45e1
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ class printcore():
"""
if self.printer:
self.printer.setDTR(1)
time.sleep(0.2)
self.printer.setDTR(0)
def _readline(self):