Updated Java code with more COM Ports