I'm making a program currently to control my arduino through C++ via xbox controller/command box in a visual program. It works 100% perfect except for one thing, the data it recieves from the arduino's Serial library is always extremely malformed. It's always at the beginning/end of the sentence.
Usually it appends "80" to the beginning, and for example when I do this:
Serial.write("This is a long string to test.");
it gives me this:
80This is a long string to test.^A
(The character at the end was actually one character, not ^A, but the forums do not support it). In any case, I'm not sure what to do. print, println and write all do this for me but I don't know why. I'd really appreciate any help with this