A simple Processing script for enabling or disabling the LED on an Arduino using a web interface and serial communication.Author: Sindre LindstadCreated: 19th of January 2011

http://projects.sindrelindstad.com

Modified by Arduleo

*/

import processing.serial.*; Serial port;

void setup() {

/* This part must be altered to fit your local settings. The number in brackets after "Serial.list()" is where you declare what COM port your Arduino is connected to. If you get error messages, try a different number starting from 0 (e.g. 0, 1, 2, 3...) . */ println(Serial.list()); port = new Serial(this, Serial.list()[0], 9600); // Open the port that the Arduino board is connected to, at 9600 baud