SHARE
TWEET

Untitled

a guest Aug 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import jssc.SerialPortList;
  2.  
  3.    public class Main {
  4.  
  5.        public static void main(String[] args) {
  6.            String[] portNames = SerialPortList.getPortNames();
  7.            for(int i = 0; i < portNames.length; i++){
  8.            System.out.println(portNames[i]);
  9.            }
  10.        }
  11.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top