Convert serial data into Array

I am writing a program to get the list of Serial COM Port through array so can anyone guide me how do I do that?

import processing.serial.*;

Serial port;

void setup() {
  println(Serial.list());
  port = new Serial(this,Serial.list()[0], 9600);
   } 
Tagged:

Answers

  • edited March 2015 Answer ✓

    String[] serials = Serial.list(); :-/

  • edited March 2015

    You posted HOW DO I PUT DATA IN DROPDOWNLIST and CONVERT SERIAL DATA INTO ARRAY.

    All caps subjects are frowned upon, as they look like you are shouting to bring attention. Please, edit these messages and retype them in lower case. (Initial uppercase char is OK! :-) )

Sign In or Register to comment.