pico-v0.1
alanbjohnston 3 years ago committed by GitHub
parent c45374fe09
commit be19e13b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2136,11 +2136,11 @@ void read_payload()
// sprintf(str, " MPU6050 %5.2f %5.2f %5.2f %5.2f %5.2f %5.2f ",
sprintf(str, " MPU6050 %.1f %.1f %.1f %.1f %.1f %.1f ",
mpu6050.getGyroX(), mpu6050.getGyroY(), mpu6050.getGyroZ(), mpu6050.getAccX(), mpu6050.getAccY(), mpu6050.getAccZ());
else
} else
sprintf(str, " MPU6050 0.0 0.0 0.0 0.0 0.0 0.0 ");
strcat(payload_str, str);
// print_string(payload_str);
}
if (result == 'R') {
Serial.println("OK");
delay(100);

Loading…
Cancel
Save

Powered by TurnKey Linux.