Why are you trying to negate a string?
Read the whole string in serialEvent, up to the \n. Then, use split to split the String, and float [] to make an array of floats of the pieces that the String gets split into.
Why are you trying to negate a string?
Read the whole string in serialEvent, up to the \n. Then, use split to split the String, and float [] to make an array of floats of the pieces that the String gets split into.