From 4490ac5a4b4eab0ee1a7fbc8f5e666eaa202139b Mon Sep 17 00:00:00 2001 From: Paint Your Dragon Date: Mon, 21 Nov 2011 12:19:27 -0800 Subject: [PATCH] Typo --- Processing/Adalight/Adalight.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processing/Adalight/Adalight.pde b/Processing/Adalight/Adalight.pde index cdcbe64..f129771 100644 --- a/Processing/Adalight/Adalight.pde +++ b/Processing/Adalight/Adalight.pde @@ -125,7 +125,7 @@ void setup() { // Open serial port. As written here, this assumes the Arduino is the // first/only serial device on the system. If that's not the case, // change "Serial.list()[0]" to the name of the port to be used: - port = Serial(this, Serial.list()[0], 115200); + port = new Serial(this, Serial.list()[0], 115200); // Alternately, in certain situations the following line can be used // to detect the Arduino automatically. But this works ONLY with SOME // Arduino boards and versions of Processing! This is so convoluted