Browse Source

Update EM7180_MPU9250_MS5637.ino

master
Kris Winer 9 years ago
parent
commit
f47d7c22e9
  1. 2
      EM7180_MPU9250_MS5637.ino

2
EM7180_MPU9250_MS5637.ino

@ -816,7 +816,7 @@ void loop()
if(eventStatus & 0x40) { // new baro data available if(eventStatus & 0x40) { // new baro data available
// Serial.println("new Baro data!"); // Serial.println("new Baro data!");
rawPressure = readSENtralBaroData(); rawPressure = readSENtralBaroData();
pressure = (float)rawPressure*0.01f +1013.25f; // pressure in mBar pressure = (float)rawPressure*0.01f + 1013.25f; // pressure in mBar
// get MS5637 temperature // get MS5637 temperature
rawTemperature = readSENtralTempData(); rawTemperature = readSENtralTempData();

Loading…
Cancel
Save