Maybe because you call getPressure() twice, once for Serial and once of SD?
Might be better to read once and store in a variable and write the variable to both SD and Serial.
Maybe because you call getPressure() twice, once for Serial and once of SD?
Might be better to read once and store in a variable and write the variable to both SD and Serial.