I assume OP does not just want to print and needs the string in memory . Otherwise you just do
Serial.print(barometer.readPressure()/100.0, 2); // 1 mbar = 1 hPa
Serial.println(F(" mbar"));
I assume OP does not just want to print and needs the string in memory . Otherwise you just do
Serial.print(barometer.readPressure()/100.0, 2); // 1 mbar = 1 hPa
Serial.println(F(" mbar"));