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

Re : problem with data transmission

$
0
0
yes, but the problem is that the string myString is not always long the same as it should be

an example of correct string is 12345:100:1

the first number, 12345 is the time in the function millis()
the second, 100 is the value of the distance
the third, 1 is the value that depends from the kind of sensor that is working and is between 0 and 7

although sometimes, with no reason, processing read a string that is like 12345:100 or simply 12345 or 0

i've controlled with the serial monitor of arduino and the string is sendt correctly, but when myString comes to processing is not the same that i've sendt...

Viewing all articles
Browse latest Browse all 1768

Trending Articles