I need to send a variable (integer, a simple number) from Processing to Arduino, how could i do it??
I've been looking for a code but there was always a mistake.
Could anyone help me??? (I only need the easier code for make it work)
Thanks.
I need to send a variable (integer, a simple number) from Processing to Arduino, how could i do it??
I've been looking for a code but there was always a mistake.
Could anyone help me??? (I only need the easier code for make it work)
Thanks.
If you are looking for advice about Processing code I cannot help.
If you are looking for advice about Arduino code the 2nd or 3rd example in Serial Input Basics should be suitable. There is also a parse example. If you can match your Processing code to the 3rd example that will be the most reliable system.
...R
Thank you, I think it will works.
For the Processing code, i'm looking for it in the Processing forum, so I hope I can fuse both codes.
But if someone knows the Processing code, I will be grateful if he tell me.
I need to send a variable (integer, a simple number) from Processing to Arduino
You can't. You CAN send the value stored in a variable.
I've been looking for a code but there was always a mistake.
Bummer. Serial.write() is so simple, I can't imagine why you are having problems.
But if someone knows the Processing code, I will be grateful if he tell me.
If only someone HAD posted the Processing code...