Vvvv to arduino send a value

I’m trying to control a servo motor by sending values from VVVV to arduino. I can successfully control the servo using a pot by following this tutorial

Now I want to replace the value from the pot with a value from VVVV. I’ve connected to the arduino from 4V using the RS232 node. But how do I send it a proper value? I tried using SpellValue node but I don’t really know what I’m doing. Please help!

send only.v4p (4.6 kB)

hello qwiks , not sure exacly of the problem , but have a look at this code and patch , it might give you an idea . have to go now i,ll try to read the tutoial later .

Pwm_from_vvvv_simple.zip (1.9 kB)

Thanks colorsound. It seems you’ve done alot on the arduino with VVVV already.

I figured out that my problem was I didn’t know I could only send 256 values in ASCII. I can now control 2 servos with 2 x 256range sliders in VVVV. I’ve learnt how to create a protocol in arduino to parse the string.

the next thing I have to figure out is how to send values higher than 255 to arduino through ascii serial.