wx.CallAfter(self.AddProgressText, "Error: Missing start message.")\r
self.comm.close()\r
return\r
- \r
+ \r
+ #Wait 3 seconds for the SD card init to timeout if we have SD in our firmware but there is no SD card found.\r
+ time.sleep(3)\r
+ \r
wx.CallAfter(self.AddProgressText, "Disabling step motors...")\r
if self.DoCommCommandWithTimeout('M84') == False:\r
wx.CallAfter(self.AddProgressText, "Error: Missing reply to Deactivate steppers (M84).")\r
- wx.CallAfter(self.AddProgressText, "Possible cause: Temperature MIN/MAX.\nCheck temperature sensor connections.")\r
self.comm.close()\r
return\r
\r
if line == '':\r
self.comm.close()\r
return False\r
+ print line\r
if line.startswith(replyStart):\r
break\r
t.cancel()\r
return\r
if line.startswith('start'):\r
break\r
+ #Wait 3 seconds for the SD card init to timeout if we have SD in our firmware but there is no SD card found.\r
+ time.sleep(3)\r
+ \r
self.sendGCommand('M302') #Disable cold extrusion protection\r
self.sendGCommand("M92 E%f" % (currentEValue));\r
self.sendGCommand("G92 E0");\r
return\r
if line.startswith('start'):\r
break\r
+ #Wait 3 seconds for the SD card init to timeout if we have SD in our firmware but there is no SD card found.\r
+ time.sleep(3)\r
+ \r
self.sendGCommand('M104 S200') #Set the temperature to 200C, should be enough to get PLA and ABS out.\r
wx.MessageBox('Wait till you can remove the filament from the machine, and press OK.\n(Temperature is set to 200C)', 'Machine heatup', wx.OK | wx.ICON_INFORMATION)\r
self.sendGCommand('M104 S0')\r