Skip to content

Commit

Permalink
Update LSM6DSV16X_Sensor_Fusion.ino
Browse files Browse the repository at this point in the history
Signed-off-by: Carlo Parata <[email protected]>
  • Loading branch information
cparata authored Sep 29, 2023
1 parent d47c17a commit 3f3fed6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ void loop()

// Print Quaternion data
Serial.print("Quaternion: ");
Serial.print(-quaternions[3], 4);
Serial.print(quaternions[3], 4);
Serial.print(", ");
Serial.print(-quaternions[0], 4);
Serial.print(quaternions[0], 4);
Serial.print(", ");
Serial.print(-quaternions[1], 4);
Serial.print(quaternions[1], 4);
Serial.print(", ");
Serial.println(-quaternions[2], 4);
Serial.println(quaternions[2], 4);

// Compute the elapsed time within loop cycle and wait
elapsedTime = millis() - startTime;
Expand Down

0 comments on commit 3f3fed6

Please sign in to comment.