Browse Source

Update EM7180_LSM9DS0_LPS25H.ino

master
Kris Winer 9 years ago
parent
commit
5551b01ea2
  1. 2
      EM7180_LSM9DS0_LPS25H.ino

2
EM7180_LSM9DS0_LPS25H.ino

@ -808,7 +808,7 @@ void loop() @@ -808,7 +808,7 @@ void loop()
}
// get LPS25H pressure
// if(readByte(EM7180_ADDRESS, EM7180_EventStatus) & 0x40) { // new baro data available
if(eventStatus & 0x40) { // new baro data available
// Serial.println("new Baro data!");
rawPressure = readSENtralBaroData();
Pressure = (float) rawPressure*3000.; // pressure in mBar

Loading…
Cancel
Save