I have a code which make some calculations using sensor values and provide two comma separated values.
float x;// initialization
float y;// initialization
//some calculations here using sensor values
Serial.print(x);Serial.print(",");Serial.print(y);
but the issue is due to some unstable situations of the sensor readings, I don't receive sensor data in same time intervals (overall delay is 1 second). I send these values to my Android device through a Bluetooth connection. At that stage, android device cannot separate two values due to lack of smoothness of the Serial.print(). Is there any way to make it smooth (like saving to a buffer before serial print or something) ?
cannot separate two values due to lack of smoothness
... do not use a word likesmooth
without explaining what it means – jsotola Dec 22 '17 at 4:11