title: Serial COM Port For ARM in Processing
body: <p>I write a program on <code>Processing Language</code>, to show the number of serial port in DropDownMenu list for <code>Intel chip</code>.</p>
  
  <p>But I am struggling to run the same program on <code>ARM chip</code>.</p>
  
  <p>Can you plz guide me on how do I resolve this issue?</p>
  
  <pre><code>import processing.serial.*; import controlP5.*;
  ControlP5 cp5; DropdownList serialPortsList; Serial serialPort;
  void setup() {
    size(700, 400,P3D);
    String[] portNames = Serial.list();
    cp5 = new ControlP5(this);
    // create a DropdownList
    serialPortsList = cp5.addDropdownList("serial ports").setPosition(10, 10).setWidth(200);
    for(int i = 0 ; i &lt; portNames.length; i++) serialPortsList.addItem(portNames[i], i);  
  }
  void draw() {
    background(128);
  }
  </code></pre>