We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I m trying to list my all Serial COM port in the DropDownList... if I am wrong plz the image below Can you plz guide me on How do I do that?
import processing.serial.*;
Serial port;
int j=0;
void setup() {
port = new Serial(this,Serial.list()[0], 9600);
String[] fahad = Serial.list();
fahad = Serial.list();
int k= fahad.length;
println(k);
for (int i=0; i<k; i++) {
println(fahad[i]);
}
background(255);
}
Answers
Look at the GUI libraries like ControlP5 or G4P.
And as said in the previous thread, please edit your subject to use lower case chars.