85,17 → 85,15 |
|
// Print out what we have |
Serial.print(gyro_x); // echo the number received to screen |
Serial.print(","); |
Serial.print(" "); |
Serial.print(gyro_y); // echo the number received to screen |
Serial.print(","); |
Serial.print(" "); |
Serial.print(gyro_z); // echo the number received to screen |
Serial.print(","); |
Serial.print(" "); |
Serial.print(accel_x); // echo the number received to screen |
Serial.print(","); |
Serial.print(" "); |
Serial.print(accel_y); // echo the number received to screen |
Serial.print(","); |
Serial.print(accel_z); // echo the number received to screen |
|
Serial.println(""); // prints carriage return |
delay(400); // wait for a second |
Serial.print(" "); |
Serial.println(accel_z); // prints the number and carriage return |
delay(100); // some wait before new reading |
} |