import processing.serial.*; Serial myPort; int windowWidth = 1280; int windowHeight = 700; int upperValue = 700; int[] valueArray = new int[windowWidth]; void setup() { size(1280, 700); println(Serial.list()); myPort = new Serial(this, Serial.list()[2], 9600); myPort.bufferUntil('\n'); } void draw() { background(0); if (valueArray != null) { for (int i=0; i