TFT 320QDT 9341 library?

I bought an TFT_320QDT_9341 from Aliexpress (https://www.aliexpress.com/snapshot/0.html?spm=2114.13010608.0.0.jOpl1t&orderId=501437041229394&productId=2019178787) and it does not work with neither UTFT nor Adafruit_GFX library.

The tft.readID from Adafruit graphicstest.ino says "Unknown LCD driver chip: 404"

The TFT comes with a shield that apparently is a clone of the ElectroFreaks.com TFT LCD Mega Shield V2.2.

What is the correct library / definition for this object?

Thanks for your help.

Aldo

Download the current UTFT v2.8.2
Use model ILI9341_16

It should work with UTFT.
Adafruit_TFTLCD read functions can never work with your write-only Adapter Shield.

David.

Thanks David.

I was finally able to make it working with this model definition:

UTFT myGLCD(CTE32_R2,38,39,40,41);

With this definition everything works fine. :)

I give up. Why do people prefer to use gobbledygook when you have a clear and unambiguous model name?

UTFT.h:

#define ILI9341_16      17
...
#define CTE32_R2        17  
...

If you had bought a Display that was marked as "CTE32_R2" or even invoiced as such, I would understand. Your board says "9341"

David.

Hi aldozan. i have an TFT_320QDT_9341 too. and it does not work with neither UTFT . Can you help me please

try this definition:

UTFT myGLCD(CTE32_R2,38,39,40,41);

My screen works with it.

I used it with Mega and the UTFT Demo 320x240 as provided by the UTFT library.
The initial code looks like this:

// UTFT_Demo_320x240 
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
// web: http://www.RinkyDinkElectronics.com/
//
// This program is a demo of how to use most of the functions
// of the library with a supported display modules.
//
// This demo was made for modules with a screen resolution 
// of 320x240 pixels.
//
// This program requires the UTFT library.
//

#include <UTFT.h>

// Declare which fonts we will be using
extern uint8_t SmallFont[];

// Set the pins to the correct ones for your development shield
// ------------------------------------------------------------
// Arduino Uno / 2009:
// -------------------
// Standard Arduino Uno/2009 shield            : <display model>,A5,A4,A3,A2
// DisplayModule Arduino Uno TFT shield        : <display model>,A5,A4,A3,A2
//
// Arduino Mega:
// -------------------
// Standard Arduino Mega/Due shield            : <display model>,38,39,40,41
// CTE TFT LCD/SD Shield for Arduino Mega      : <display model>,38,39,40,41
//
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(CTE32_R2,38,39,40,41);

void setup()

all the other code is the standard one of that sketch.

Hope this helps.

Ciao.
:smiley:

Go on. Does your display have "CTE32_R2" printed on the pcb? Or was "CTE32_R2" printed on the invoice?

You all seem to own displays that are clearly marked "TFT_320QDT_9341"

So it seems fairly straightforward to install UTFT v2.8.2 and use:

UTFT myGLCD(ILI9341_16, 38, 39, 40, 41);  //ILI9341 on  "TFT_320QDT_9341"

David.

In the attachment you see the TFT. As you can see the label on it says “TFT_320QDT_9341” but this is NOT a ILI 9341 driver.

Anyway it works with the definition in my previous post.

Read message #3. ILI9341_16 is exactly the same model as CTE32_R2. Both "model_names" will work the same. Or you could just use the "model number" i.e. 17.

I do not own this display. I have a lot of experience with the Red and Blue Mcufriend Shields. The Mcufriend shields often contain a different controller to the number printed on the pcb (or paper label).

David.

David, I do not argue on the difference between ILI 9341 and CTE32 R2. I symply don't know that and I believe you.

Issue is that with the

UTFT myGLCD(ILI9341_16, 38, 39, 40, 41);  //ILI9341 on  "TFT_320QDT_9341"

definition the TFT does not work, with the UTFT myGLCD(CTE32_R2,38,39,40,41); one it does.

I don't believe you.

Read #3. Look in your UTFT.h file.

...
#define UTFT_VERSION    282
...
#define ILI9341_16      17
...
#define CTE32_R2        17  
...

Note that some model_number defines change between version numbers. Perhaps you have an obsolete UTFT version or one that has been hacked. There are plenty of hacked pre-v2.8.2 UTFT versions out there.

David.

I install UTFT v2.8.2 and use:UTFT myGLCD(CTE32_R2,38,39,40,41);

With this definition everything works .

Thanks for your help.

Joan.

Hi, David! Hi, dear all people!

david_prentice: You all seem to own displays that are clearly marked "TFT_320QDT_9341"

So it seems fairly straightforward to install UTFT v2.8.2 and use:

UTFT myGLCD(ILI9341_16, 38, 39, 40, 41);  //ILI9341 on  "TFT_320QDT_9341"

David.

You can lay out a small example of a program that works with the screen TFT_320QDT_9341 and lay out the UTFT library, which you used to compile for this example program?. I use: The screen is 16 bit and 40 pin and connected to Mega 2560 and to Mega 2560 R3 via board TFT LCD Mega Shield V2.2. I have UTFT liblary 2.82. I have three sets and I went through all the combinations. I tried all the options that were discussed here and none of its not earned. I am in deep melancholy and ask for help.

Yours sincerely Serge sergeclause@mail.ru

I am sorry for your deep melancholy.

I do not own a TFT_320QDT_9341. Nor do I own a TFT LCD Mega Shield V2.2.

I am sure that there are many owners of this 9341 Display. Perhaps one of them will be able to advise.

David.

JoanRodri44: Hi aldozan. i have an TFT_320QDT_9341 too. and it does not work with neither UTFT . Can you help me please

Hi, Joan!

Did you manage to get TFT_320QDT_9341?

Serge

david_prentice: I am sorry for your deep melancholy.

I do not own a TFT_320QDT_9341. Nor do I own a TFT LCD Mega Shield V2.2.

David.

Hi, David!

I can send you one kit. It will be my gift to you if you help me to understand this problem.

Serge

PS And I have not stroked my cat for two days ...

The link in #0 does not work. The photo in #7 clearly shows TFT_320QDT_9341.

There have been 40-pin displays called TFT_320QVT that contain a SSD1289 And they seem to be replaced by TFT_320QVT_9341 that contain an ILI9341.

So it might be that the QVT and QDT mean something different. aldozan from #5, #7, #9 seems to have his working with CTE32_R2 which is exactly the same asILI9341_16.

I am sure that I can get your display working but it seems complicated to mail a packet from Russia to England. Do you know how long this takes?

I already have a 40-pin Due Adapter. And I am making a STM32 40-pin Adapter when the parts arrive from China. (hopefully in the next 2-3 days)

David.

david_prentice:
I am sure that I can get your display working but it seems complicated to mail a packet from Russia to England. Do you know how long this takes?

The parcel from Russia to England is not difficult to send, but it will take a long time to steal in Russia.

The chief decided to talk with suppliers.

If you tell me your mailing address, I’ll send you a Russian gift.

Serge

PS
It is a pity that Britain did not participate in the Confederations Cup

Hi Serge.
Please have the code of a working program with the TFT and Mega (it’s running right now for checking).
It is the standard test program with the definition as per my previous post.
Next I’ll post the libraries configuration.

In this way the TFT works, in any other test I did it didn’t.

Hope this helps. :slight_smile:

Ciao. Aldo

// UTFT_Demo_320x240 
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
// web: http://www.RinkyDinkElectronics.com/
//
// This program is a demo of how to use most of the functions
// of the library with a supported display modules.
//
// This demo was made for modules with a screen resolution 
// of 320x240 pixels.
//
// This program requires the UTFT library.
//

#include <UTFT.h>

// Declare which fonts we will be using
extern uint8_t SmallFont[];

// Set the pins to the correct ones for your development shield
// ------------------------------------------------------------
// Arduino Uno / 2009:
// -------------------
// Standard Arduino Uno/2009 shield            : <display model>,A5,A4,A3,A2
// DisplayModule Arduino Uno TFT shield        : <display model>,A5,A4,A3,A2
//
// Arduino Mega:
// -------------------
// Standard Arduino Mega/Due shield            : <display model>,38,39,40,41
// CTE TFT LCD/SD Shield for Arduino Mega      : <display model>,38,39,40,41
//
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(CTE32_R2,38,39,40,41);

void setup()
{
  randomSeed(analogRead(0));
  
// Setup the LCD
  myGLCD.InitLCD();
  myGLCD.setFont(SmallFont);
}

void loop()
{
  int buf[318];
  int x, x2;
  int y, y2;
  int r;

// Clear the screen and draw the frame
  myGLCD.clrScr();

  myGLCD.setColor(255, 0, 0);
  myGLCD.fillRect(0, 0, 319, 13);
  myGLCD.setColor(64, 64, 64);
  myGLCD.fillRect(0, 226, 319, 239);
  myGLCD.setColor(255, 255, 255);
  myGLCD.setBackColor(255, 0, 0);
  myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
  myGLCD.setBackColor(64, 64, 64);
  myGLCD.setColor(255,255,0);
  myGLCD.print("<http://www.RinkyDinkElectronics.com/>", CENTER, 227);

  myGLCD.setColor(0, 0, 255);
  myGLCD.drawRect(0, 14, 319, 225);

// Draw crosshairs
  myGLCD.setColor(0, 0, 255);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.drawLine(159, 15, 159, 224);
  myGLCD.drawLine(1, 119, 318, 119);
  for (int i=9; i<310; i+=10)
    myGLCD.drawLine(i, 117, i, 121);
  for (int i=19; i<220; i+=10)
    myGLCD.drawLine(157, i, 161, i);

// Draw sin-, cos- and tan-lines  
  myGLCD.setColor(0,255,255);
  myGLCD.print("Sin", 5, 15);
  for (int i=1; i<318; i++)
  {
    myGLCD.drawPixel(i,119+(sin(((i*1.13)*3.14)/180)*95));
  }
  
  myGLCD.setColor(255,0,0);
  myGLCD.print("Cos", 5, 27);
  for (int i=1; i<318; i++)
  {
    myGLCD.drawPixel(i,119+(cos(((i*1.13)*3.14)/180)*95));
  }

  myGLCD.setColor(255,255,0);
  myGLCD.print("Tan", 5, 39);
  for (int i=1; i<318; i++)
  {
    myGLCD.drawPixel(i,119+(tan(((i*1.13)*3.14)/180)));
  }

  delay(2000);

  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);
  myGLCD.setColor(0, 0, 255);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.drawLine(159, 15, 159, 224);
  myGLCD.drawLine(1, 119, 318, 119);

// Draw a moving sinewave
  x=1;
  for (int i=1; i<(318*20); i++) 
  {
    x++;
    if (x==319)
      x=1;
    if (i>319)
    {
      if ((x==159)||(buf[x-1]==119))
        myGLCD.setColor(0,0,255);
      else
        myGLCD.setColor(0,0,0);
      myGLCD.drawPixel(x,buf[x-1]);
    }
    myGLCD.setColor(0,255,255);
    y=119+(sin(((i*1.1)*3.14)/180)*(90-(i / 100)));
    myGLCD.drawPixel(x,y);
    buf[x-1]=y;
  }

  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some filled rectangles
  for (int i=1; i<6; i++)
  {
    switch (i)
    {
      case 1:
        myGLCD.setColor(255,0,255);
        break;
      case 2:
        myGLCD.setColor(255,0,0);
        break;
      case 3:
        myGLCD.setColor(0,255,0);
        break;
      case 4:
        myGLCD.setColor(0,0,255);
        break;
      case 5:
        myGLCD.setColor(255,255,0);
        break;
    }
    myGLCD.fillRect(70+(i*20), 30+(i*20), 130+(i*20), 90+(i*20));
  }

  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some filled, rounded rectangles
  for (int i=1; i<6; i++)
  {
    switch (i)
    {
      case 1:
        myGLCD.setColor(255,0,255);
        break;
      case 2:
        myGLCD.setColor(255,0,0);
        break;
      case 3:
        myGLCD.setColor(0,255,0);
        break;
      case 4:
        myGLCD.setColor(0,0,255);
        break;
      case 5:
        myGLCD.setColor(255,255,0);
        break;
    }
    myGLCD.fillRoundRect(190-(i*20), 30+(i*20), 250-(i*20), 90+(i*20));
  }
  
  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some filled circles
  for (int i=1; i<6; i++)
  {
    switch (i)
    {
      case 1:
        myGLCD.setColor(255,0,255);
        break;
      case 2:
        myGLCD.setColor(255,0,0);
        break;
      case 3:
        myGLCD.setColor(0,255,0);
        break;
      case 4:
        myGLCD.setColor(0,0,255);
        break;
      case 5:
        myGLCD.setColor(255,255,0);
        break;
    }
    myGLCD.fillCircle(100+(i*20),60+(i*20), 30);
  }
  
  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some lines in a pattern
  myGLCD.setColor (255,0,0);
  for (int i=15; i<224; i+=5)
  {
    myGLCD.drawLine(1, i, (i*1.44)-10, 224);
  }
  myGLCD.setColor (255,0,0);
  for (int i=224; i>15; i-=5)
  {
    myGLCD.drawLine(318, i, (i*1.44)-11, 15);
  }
  myGLCD.setColor (0,255,255);
  for (int i=224; i>15; i-=5)
  {
    myGLCD.drawLine(1, i, 331-(i*1.44), 15);
  }
  myGLCD.setColor (0,255,255);
  for (int i=15; i<224; i+=5)
  {
    myGLCD.drawLine(318, i, 330-(i*1.44), 224);
  }
  
  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some random circles
  for (int i=0; i<100; i++)
  {
    myGLCD.setColor(random(255), random(255), random(255));
    x=32+random(256);
    y=45+random(146);
    r=random(30);
    myGLCD.drawCircle(x, y, r);
  }

  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some random rectangles
  for (int i=0; i<100; i++)
  {
    myGLCD.setColor(random(255), random(255), random(255));
    x=2+random(316);
    y=16+random(207);
    x2=2+random(316);
    y2=16+random(207);
    myGLCD.drawRect(x, y, x2, y2);
  }

  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

// Draw some random rounded rectangles
  for (int i=0; i<100; i++)
  {
    myGLCD.setColor(random(255), random(255), random(255));
    x=2+random(316);
    y=16+random(207);
    x2=2+random(316);
    y2=16+random(207);
    myGLCD.drawRoundRect(x, y, x2, y2);
  }

  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

  for (int i=0; i<100; i++)
  {
    myGLCD.setColor(random(255), random(255), random(255));
    x=2+random(316);
    y=16+random(209);
    x2=2+random(316);
    y2=16+random(209);
    myGLCD.drawLine(x, y, x2, y2);
  }

  delay(2000);
  
  myGLCD.setColor(0,0,0);
  myGLCD.fillRect(1,15,318,224);

  for (int i=0; i<10000; i++)
  {
    myGLCD.setColor(random(255), random(255), random(255));
    myGLCD.drawPixel(2+random(316), 16+random(209));
  }

  delay(2000);

  myGLCD.fillScr(0, 0, 255);
  myGLCD.setColor(255, 0, 0);
  myGLCD.fillRoundRect(80, 70, 239, 169);
  
  myGLCD.setColor(255, 255, 255);
  myGLCD.setBackColor(255, 0, 0);
  myGLCD.print("That's it!", CENTER, 93);
  myGLCD.print("Restarting in a", CENTER, 119);
  myGLCD.print("few seconds...", CENTER, 132);
  
  myGLCD.setColor(0, 255, 0);
  myGLCD.setBackColor(0, 0, 255);
  myGLCD.print("Runtime: (msecs)", CENTER, 210);
  myGLCD.printNumI(millis(), CENTER, 225);
  
  delay (10000);
}

This is the library configuration:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\X250 Aldo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\X250 Aldo\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Arduino & Fritzing & Processing\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10803 -build-path C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Arduino & Fritzing & Processing\Arduino\UTFT Aldo\UTFT_Demo_320x240\UTFT_Demo_320x240.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\X250 Aldo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\X250 Aldo\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Arduino & Fritzing & Processing\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10803 -build-path C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Arduino & Fritzing & Processing\Arduino\UTFT Aldo\UTFT_Demo_320x240\UTFT_Demo_320x240.ino
Using board 'mega' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\sketch\UTFT_Demo_320x240.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\sketch\UTFT_Demo_320x240.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT\DefaultFonts.c" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT\UTFT.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\sketch\UTFT_Demo_320x240.ino.cpp" -o "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\preproc\ctags_target_for_gcc_minus_e.cpp"
Sto compilando lo sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\sketch\UTFT_Demo_320x240.ino.cpp" -o "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\sketch\UTFT_Demo_320x240.ino.cpp.o"
C:\Arduino & Fritzing & Processing\Arduino\UTFT Aldo\UTFT_Demo_320x240\UTFT_Demo_320x240.ino: In function 'void loop()':

Compiling libraries...
Compiling library "UTFT"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT\DefaultFonts.c" -o "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\libraries\UTFT\DefaultFonts.c.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT" "C:\Arduino & Fritzing & Processing\Arduino\libraries\UTFT\UTFT.cpp" -o "C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\libraries\UTFT\UTFT.cpp.o"

"C:\Users\X250AL~1\AppData\Local\Temp\arduino_build_453001\core\new.cpp.o"