def _flush(self):
        """Flushes all of the serial ports.
        """
        for ser in self._serials:
            ser.flush()
            ser.flushInput()
            ser.flushOutput()
        time.sleep(0.02)
Flushes all of the serial ports.