def startSerialThread(self): self.flushSerial() self.currentthread = Stepper(self.update, 50) self.currentthread.start()
def startmoving(self): self.stopmoving() self.currentthread = Stepper(self.onestep, SIMULATOR_PERIOD) self.currentthread.start()
def startSerialThread(self): self.flushSerial() self.currentthread = Stepper(self.update, 50) self.currentthread.start()
def startmoving(self): self.stopmoving() self.currentthread = Stepper(self.onestep, SIMULATOR_PERIOD) self.currentthread.start()