added all zeros for MPU if not present to serial

pico-payload-gps-query
alanbjohnston 3 years ago committed by GitHub
parent 5f7ae814d3
commit f12eafe6e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3055,6 +3055,8 @@ void payload_OK_only()
Serial.print(" ");
Serial.print(mpu6050.getAccZ());
}
else
Serial.print(" MPU6050 0.0 0.0 0.0 0.0 0.0 0.0 ");
sensorValue = analogRead(TEMPERATURE_PIN);
//Serial.println(sensorValue);

Loading…
Cancel
Save

Powered by TurnKey Linux.