On 10 May 2009, at 00:56, rags música wrote:
Hi list,
I am really lost trying to use Arduino.
I want to control the intensity of a led from SC, lets say from a fader.
p = ArduinoSMS("/dev/tty.usbserial-A6008aL8", 115200); // was 9600 (changed by thor)
p.send($w, $a, port, value)
where port is the PWM port you want (there are six: 3,5,6,9,10,11) and value an int in [0,255] for your led
Also, What is the second argument 11520 in the code below?
data transfer rate of the serial. Keep it high as it is, it works in my experience
Best
-a-
p = ArduinoSMS("/dev/tty.usbserial-A6008aL8", 115200); // was 9600 (changed by thor)
Thanks,
R