]> wolfpit.net Git - hardware/fuck_tomatoes/.git/commitdiff
Tested package and detection lifecycles
authorMichael Reeves <michaelreeves808@gmail.com>
Fri, 22 Feb 2019 12:47:17 +0000 (04:47 -0800)
committerMichael Reeves <michaelreeves808@gmail.com>
Fri, 22 Feb 2019 12:47:17 +0000 (04:47 -0800)
Printer.py

index 690e984d84017c83368d1d7d738a795b99bceb47..0dd0b09a1734884714b0adcd64258db34b0c05ab 100644 (file)
@@ -38,6 +38,8 @@ class Printer():
        def write(self, xy):
                self.writePoint(self.adjustXY(xy))
 
+       #Cannot send packages with over 3 locations at once,
+       #it overflows the printer's serial buffer because it's a peice of dog shit
        def sendPackage(self, points):
                package = Gcode.buildGcodePackage(list(map(self.adjustXY, points)), (self.max_X, self.max_Y))
                self.writePackage(package)