Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 562b367

Browse files
authored
Merge pull request #11 from arduino-libraries/VKin-Arduino-patch-1
Adjusted accelerometer.Z values
2 parents f219029 + 5837c93 commit 562b367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/PhysicsLabFirmware/PhysicsLabFirmware.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void updateSubscribedIMUCharacteristics() {
272272

273273
acceleration[0] = a.acceleration.x;
274274
acceleration[1] = a.acceleration.y;
275-
acceleration[2] = a.acceleration.z;
275+
acceleration[2] = a.acceleration.z/10;
276276
accelerationCharacteristic.writeValue((byte*)acceleration, sizeof(acceleration));
277277
}
278278

0 commit comments

Comments
 (0)