Read IMU Data

Hi all

I bought an Arduino Uno and I have a Sparkfun IMU 9DOF Razor. I already managed to connect the IMU directly to my computer and read data (over Arduino IDE using the tu-berlin firmware https://dev.qu.tu-berlin.de/projects/sf-razor-9dof-ahrs/wiki/Tutorial, which works perfectly). Now I tried to let my Uno read the same data. I tried it with the following code

void setup() {
  Serial.begin(57600);
}

void loop() {
  if(Serial.available()) {
    Serial.print(Serial.read());
  }
}

however, I just get "random" two digit number and then again a new line. Can someone tell me how to "correctly" read the IMU data? This is how i usually get the data when directly connecting the IMU with my PC

YPR=-155.73,-76.48,-129.51

High regards and many thanks R

RReguera: ``` void setup() {   Serial.begin(57600); }

void loop() {   if(Serial.available()) {     Serial.print(Serial.read());   } }

Use Serial.write() instead of Serial.print().

Dear Sir,

You made my day! I salute you!

Many thanks