# What is right method to pass led info from processing to arduino

**URL:** <https://discourse.processing.org/t/what-is-right-method-to-pass-led-info-from-processing-to-arduino/8010>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [February 1, 2019, 12:53am UTC](https://discourse.processing.org/t/what-is-right-method-to-pass-led-info-from-processing-to-arduino/8010 "2019-02-01T00:53:58Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![jb4x](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jb4x/32/789_2.png) [@jb4x](https://discourse.processing.org/u/jb4x)\
**Post date:** [February 2, 2019, 9:45pm UTC](https://discourse.processing.org/t/what-is-right-method-to-pass-led-info-from-processing-to-arduino/8010/15 "2019-02-02T21:45:46Z")

</div>

Hi angelman,

I think those posts can help you figure it out:

> [@Multiple Values from Processing to Arduino through Serial Port](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152):
>
> I have managed to send one value from processing to arduino. (which maps mouseX and lights the respective LED on an LED strip of Neopixels) I went through a lot of forums and tried to send Mouse Position(2 values ) from processing to arduino … By trying to separate the numbers using substring and toInt … But then the program doesn’t seem to be working. can anyone share an simple example that sends and receives X and Y values, or multiple values.

> [@Send 3 variable to Arduino?](https://discourse.processing.org/t/send-3-variable-to-arduino/5467):
>
> Hi, I’m trying to send 3 variable w1, w2 and phiV which are 3 parameter changing with the mouse tracking. I was trying to place those variable in 3 arrays and add it in a string but it didn’t work. I think there is one or several steps i have missed somewhere. Can I send a float array or just an int array? I put my program import processing.serial.\*; Serial arduinoport; float w1, w2; float w12twist = 10.0; //int x=1; int Um=100; int Vm=100; float phiU=0; float phiV=HALF\_PI/2; float X1t,…

---

_[View the full topic](https://discourse.processing.org/t/what-is-right-method-to-pass-led-info-from-processing-to-arduino/8010)._
