I have a 3 axis accelerometer on an AxonII. Currently, I am outputting the values using rprintf back to my desktop like so:
rprintf("Acceleration x = %d\n",accel.accelerometer.x_axis_mG);
rprintf("Acceleration y = %d\n",accel.accelerometer.y_axis_mG);
rprintf("Acceleration z = %d\n",accel.accelerometer.z_axis_mG);
and this reads on hyperterminal as:
Acceleration x = 890
Acceleration y = 356
Acceleration z = 100
If I wanted the output format to be all in one line, say something more streamlined:
x= 890 y= 356 z=100
How should I go about?