// Example by Tom Igoe import processing.serial.*; // The serial port: Serial serial; void setup() { // List all the available serial ports: printArray(Serial.list()); // Open the port you are using at the rate you want: serial = new Serial(this, Serial.list()[0], 115200); } void loop() { serial.write("asdf"); }