serial port object
mega threading changes