Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : how to save serial data received from arduino

$
0
0
It looks like if you only save values to the first index of your arrays, because "i" is set to "0" at the beginning of the serialEvent()-function. You are not describing what exactly is your problem, do you get wrong values, any eror-messages?

And maybe it would be a good idea to use ArrayLists instead of arrays, so you are more flexible when the amount of values changes.

Viewing all articles
Browse latest Browse all 1768

Latest Images

Trending Articles



Latest Images