I have been using 2 IMUs on the Arduino, and sending the orientation data to a python script. However, when I am writing the data using Serial.print or println, I get errors sometimes when the python code recieves a weird character or something, and returns something like "/xfe" instead of the float value I am trying to send. For this reason, I am trying to send my data with Serial.write(), and I have seen people sending single floats with a byte pointer, but how would you send an array of 6 floats, for instance? Would it be the same process using an array of bye pointers?
Thanks a lot,