Hi,
I'm a week new to arduino and have what might seem like an extremely simple question to you all.
I am doing a tutorial where i'm transmitting information from arduino to the Processing program and all i'm trying to do is make the potentiometer adjust a background colour.
it's set up right as reported by the serial monitor and is converting the info from the potentiometer to a 0 - 255 number.
Everything in Processing seems fine as it' creates the 500x500 box i'd like to adjust. I think Processing isn't receiving the data from the serial port ultimately.
to initialize the port i've used:
port = new Serial (this, Serial.list()[5], 9600);
As i've seen in a tutorial.
this is the only Serial.list number [5] that doesn't return an error.
In the arduino software, the port the arduino is connected to is listed as:
"/dev/cu.usbmodemfa131 (Aurduino Uno)" and so, i've tried "/dev/cu.usbmodemfa131".
Neither has been successful.
I'm using a macbook pro early 2011 and running on 0S 10.7.5.
I even tried installing the FTDI serial patch. If it worked, i'm not sure what i should be changing.
Any help would be appreciate and thanks
js