Problem with TFT screen while compiling

SOLVED

So i have the code below

#define cs 10
#define dc 9
#define res 8
#define BLACK 0x0000
#define RED2RED 0
#define GREEN2GREEN 1
#define BLUE2BLUE 2
#define BLUE2RED 3
#define GREEN2RED 4
#define RED2GREEN 5

#include <Adafruit_GFX_AS.h>
#include <Adafruit_ST7735.h>
#include <Adafruit_ILI9341_AS.h>
#include <SPI.h>

#define ILI9341_GREY 0x2104

Adafruit_ST7735 tft = Adafruit_ST7735(cs, dc, res);
//--------------------]

// dht----------------[
#include <DHT.h> //Libraria senzorului
#define DHTPIN 7
#define DHTTYPE DHT22

The easier you make it to read and copy the code the more likely it is that you will get help

Please follow the advice given in the link below when posting code , use code tags and post the code here

@mike251098, your topic was moved to a more suitable location on the forum. I have no idea why you thought that this relates to avrdude or boot loader.

After reading post #2, please edit your post and apply the code tags.

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

Did you write the code yourself?
If not where did you get it?

What TFT screen are you using?
What model Arduino are you using?

Thanks.. Tom... :grinning: :+1: :coffee: :australia: