Epaper with UNO and BMP280-Sensor

Hello, I would like to use Arduino UNO to control an epaper to display the temperature and pressure readings from the BMP280 sensor.
I wanted to combine two demo programs, BMP280 with Multifunctionshield and the Epaper demo.

The previous result looks like this, can be compiled and displays only the two texts "temperature" and "pressure":

#include <SPI.h>
#include <epd2in7.h>
#include <epdpaint.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP280.h>

float temperature;
float humidity;
float pressure;

#define ALTITUDE 100.0 

Adafruit_BMP280 bme; // I2C

#define COLORED     0
#define UNCOLORED   1

void setup() {
 // put your setup code here, to run once:
 Serial.begin(9600);
 Epd epd;

 if (epd.Init() != 0) {
   Serial.print("e-Paper init failed");
   return;
 }

 /* This clears the SRAM of the e-paper display */
 epd.ClearFrame();

 bool status;

    // default settings
   status = bme.begin(0x76);  //The I2C address of the sensor I use is 0x76
   if (!status) {
      delay (100);
      
              while (1);
   }
}

void loop() {
 delay(2000);

getPressure();
getTemperature();

//Printing Temperature
String temperatureString = String(temperature,1);

 Epd epd;
 if (epd.Init() != 0) {
    return;
 }

 epd.ClearFrame();
 
 unsigned char image[1024];
 Paint paint(image, 176, 24);    //width should be the multiple of 8 

 paint.Clear(UNCOLORED);
 paint.DrawStringAt(0, 0, "pressure", &Font24, COLORED);
 epd.TransmitPartialData(paint.GetImage(), 16, 12, paint.GetWidth(), paint.GetHeight());

 paint.Clear(UNCOLORED);
 paint.DrawStringAt(4, 4, "temperature", &Font24, COLORED);
 epd.TransmitPartialData(paint.GetImage(), 0, 112, paint.GetWidth(), paint.GetHeight());

 epd.DisplayFrame();
 epd.Sleep();
}

float getTemperature()
{
 temperature = bme.readTemperature();
}

float getPressure()
{
 pressure = bme.readPressure();
 // pressure = bme.seaLevelForAltitude(ALTITUDE,pressure);
 pressure = pressure/100.0F;
 
}

I have not yet succeeded in displaying measured values. My idea was to replace the text "temperature" with variables of the BMP280, unfortunately there are always compiler errors.
Can someone please help me to display the measured values?