Hi, I got this error TFT 1.8 and BME680

Hi, I got this error.
I want to print the values from serial print to my TFT display. I’m a beginner to arduino and I have copy code from a bme680 example.

Thanks

Arduino: 1.8.9 (Windows 10), Board: “Arduino/Genuino Uno”

F:\Arduino\TFT-BME680_test_1\TFT-BME680_test_1.ino: In function ‘void loop()’:

TFT-BME680_test_1:58:33: error: no matching function for call to ‘TFT::text(const char [14])’

TFTscreen.text("Temperatur = ");

^

In file included from C:\Users\Henrik\Documents\Arduino\libraries\TFT\src/TFT.h:36:0,

from F:\Arduino\TFT-BME680_test_1\TFT-BME680_test_1.ino:1:

C:\Users\Henrik\Documents\Arduino\libraries\TFT\src/utility/Adafruit_GFX.h:174:2: note: candidate: void Adafruit_GFX::text(const char*, int16_t, int16_t)

text(const char * text, int16_t x, int16_t y),

^

C:\Users\Henrik\Documents\Arduino\libraries\TFT\src/utility/Adafruit_GFX.h:174:2: note: candidate expects 3 arguments, 1 provided

Multiple libraries were found for “TFT.h”
Used: C:\Users\Henrik\Documents\Arduino\libraries\TFT
Not used: C:\Program Files (x86)\Arduino\libraries\TFT
exit status 1
no matching function for call to ‘TFT::text(const char [14])’

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

#include <TFT.h>
#include <SPI.h>
#include <Wire.h>

#include <Adafruit_Sensor.h>
#include "Adafruit_BME680.h"

#define BME_SCK 13
#define BME_MISO 12
#define BME_MOSI 11
#define BME_CS 10

#define cs 10
#define dc 9
#define rst 8

TFT TFTscreen = TFT (cs, dc, rst);

#define SEALEVELPRESSURE_HPA (1013.25)

Adafruit_BME680 bme; // I2C
//Adafruit_BME680 bme(BME_CS); // hardware SPI
//Adafruit_BME680 bme(BME_CS, BME_MOSI, BME_MISO,  BME_SCK);


void setup() {
  TFTscreen.begin();
  TFTscreen.background(255, 255, 0);
  TFTscreen.stroke(0, 0, 255);

  Serial.begin(9600);
  while (!Serial);
  Serial.println(F("BME680 test"));

  if (!bme.begin()) {
    Serial.println("Could not find a valid BME680 sensor, check wiring!");
    while (1);
  }

  // Set up oversampling and filter initialization
  bme.setTemperatureOversampling(BME680_OS_8X);
  bme.setHumidityOversampling(BME680_OS_2X);
  bme.setPressureOversampling(BME680_OS_4X);
  bme.setIIRFilterSize(BME680_FILTER_SIZE_3);
  bme.setGasHeater(320, 150); // 320*C for 150 ms
  

}

void loop() {
 if (! bme.performReading()) {
    Serial.println("Failed to perform reading :(");
    return;
  }

  TFTscreen.setRotation(0);
  TFTscreen.setTextSize(3);
  TFTscreen.text("Temperatur = ");
  Serial.print("Temperatur = ");
  Serial.print(bme.temperature);
  Serial.println(" *C");
 
  
  TFTscreen.setTextSize(2);
  Serial.print("Tryk = ");
  Serial.print(bme.pressure / 100.0);
  Serial.println(" hPa");
  
  Serial.print("Fugtighed = ");
  Serial.print(bme.humidity);
  Serial.println(" %");

  Serial.print("Gas = ");
  Serial.print(bme.gas_resistance / 1000.0);
  Serial.println(" KOhms");

  Serial.print("Ca. Højde = ");
  Serial.print(bme.readAltitude(SEALEVELPRESSURE_HPA));
  Serial.println(" m");

  Serial.println();
  delay(2000);
  
}

Study the documentation for the TFT library’s text function:
https://www.arduino.cc/en/Reference/TFTText

As you can see, you must specify x and y coordinate arguments to the function as well as the text you want to display.