Some sort of "error?"

During an attempt to verify/compile my code, I noticed some red writing appeared on the clipboard stating

Archiving built core (caching) in: C:\Users\tamaf\AppData\Local\Temp\arduino_cache_452958\core\core_arduino_avr_mega_cpu_atmega2560_0c812875ac70eb4a9b385d8fb077f54c.a

I had changed my preferences to show the verbose output, I also do not currently have the board with me to test the code as I am away. The project is due a few days after my arrival so I need to make sure the coding has nothing wrong with it what so ever.

what can I do to fix this issue? I will attempt to paste the code however it may be too large.

Thanks in advance! :slight_smile:

#include <UTFT.h> 
#include <URTouch.h>

//==== Creating Objects
UTFT    myGLCD(SSD1289,38,39,40,41); //Parameters should be adjusted to your Display/Schield model
URTouch  myTouch( 6, 5, 4, 3, 2);

//==== Defining Variables
extern uint8_t SmallFont[];
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];

extern unsigned int bird01[0x41A];

int x, y;

char currentPage, selectedUnit;

//Ultrasonic Sensor
const int VCC = 13;
const int trigPin = 11;
const int echoPin = 12;

long duration;
int distanceInch, distanceCm;

// RGB LEDs
const int redLed = 10;
const int greenLed = 9;
const int blueLed = 8;
int xR=38;
int xG=38;
int xB=38;

// Floppy Bird
int xP = 319;
int yP = 100;
int yB = 30;
int fallRateInt = 0;
float fallRate =0;
int score=0;
const int button = 14;
int buttonState = 0;

void setup() {
// Initial setup
  myGLCD.InitLCD();
  myGLCD.clrScr();
  myTouch.InitTouch();
  myTouch.setPrecision(PREC_MEDIUM);

  // Defining Pin Modes
  pinMode(VCC, OUTPUT); // VCC
  pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output
  pinMode(echoPin, INPUT); // Sets the echoPin as an Input
  pinMode(redLed, OUTPUT);
  pinMode(greenLed, OUTPUT);
  pinMode(blueLed, OUTPUT);
  pinMode(button, INPUT);
  digitalWrite(VCC, HIGH); // +5V - Pin 13 as VCC

  drawHomeScreen();  // Draws the Home Screen
  currentPage = '0'; // Indicates that we are at Home Screen
  selectedUnit = '0'; // Indicates the selected unit for the first example, cms or inches
}

void loop() { 
  // Home Screen
  if (currentPage == '0') {
    if (myTouch.dataAvailable()) {
      myTouch.read();
      x=myTouch.getX(); // X coordinate where the screen has been pressed
      y=myTouch.getY(); // Y coordinates where the screen has been pressed
      // If we press the Distance Sensor Button 
      if ((x>=35) && (x<=285) && (y>=90) && (y<=130)) {
        drawFrame(35, 90, 285, 130); // Custom Function -Highlighs the buttons when it's pressed
        currentPage = '1'; // Indicates that we are the first example
        myGLCD.clrScr(); // Clears the screen
        drawDistanceSensor(); // It is called only once, because in the next iteration of the loop, this above if statement will be false so this funtion won't be called. This function will draw the graphics of the first example.
      }
      // If we press the RGB LED Control Button 
      if ((x>=35) && (x<=285) && (y>=140) && (y<=180)) {
        drawFrame(35, 140, 285, 180);
        currentPage = '2';
        myGLCD.clrScr();
        drawLedControl();
      }  
      // If we press the Birduino Game Button
      if ((x>=35) && (x<=285) && (y>=190) && (y<=230)) {
        drawFrame(35, 190, 285, 230);
        currentPage = '3';
        myGLCD.clrScr();
        myGLCD.setColor(114, 198, 206);
        myGLCD.fillRect(0,0,319,239);
        drawGround();
        drawPilars(xP,yP);
        drawBird(30);
        delay(1000);
      }
    }
  }
  // Distance Sensor Example
  if (currentPage == '1') {    
      getDistance(); // Gets distance from the sensor and this function is repeatedly called while we are at the first example in order to print the lasest results from the distance sensor
      if (myTouch.dataAvailable()) {
        myTouch.read();
        x=myTouch.getX();
        y=myTouch.getY();
       
        // If we press the Centimeters Button
        if ((x>=10) && (x<=135) &&(y>=90) && (y<=163)) {
          selectedUnit = '0';
        }
        // If we press the Inches Button
        if ((x>=10) && (x<=135) &&(y>=173) && (y<=201)) {
          selectedUnit = '1';
        }
        // If we press the Back Button
        if ((x>=10) && (x<=60) &&(y>=10) && (y<=36)) {
          drawFrame(10, 10, 60, 36);
          currentPage = '0'; // Indicates we are at home screen
          myGLCD.clrScr();
          drawHomeScreen(); // Draws the home screen
        }
      }
  }
  
  // RGB LED Control 
  if (currentPage == '2') {
    setLedColor();
    if (myTouch.dataAvailable()) {
        myTouch.read();
        x=myTouch.getX();
        y=myTouch.getY();
        
        //Back button
        if ((x>=10) && (x<=60) &&(y>=10) && (y<=36)) {
          drawFrame(10, 10, 60, 36);
          currentPage = '0';
          myGLCD.clrScr();
          drawHomeScreen();
          // Turns the LED off
          analogWrite(redLed, 0);
          analogWrite(greenLed, 0);
          analogWrite(blueLed, 0);
        }
    }
  }
//==== This section of the code, for the game example, is explained in my next tutorial
  // Birduino Game
  if (currentPage == '3') {
    //delay(1);
    xP=xP-3;
    drawPilars(xP, yP);
    
    yB+=fallRateInt;
    fallRate=fallRate+0.4;
    fallRateInt= int(fallRate);
    if (yB>=220) {
      yB=220;
    }
    if(yB>=180 || yB<=0){
      restartGame();
    }
    if((xP<=85) && (xP>=30) && (yB<=yP-2)){
      restartGame();
    }
    if((xP<=85) && (xP>=30) && (yB>=yP+60)){
      restartGame();
    }
    drawBird(yB);
    
    if (xP<=-51){
      xP=319;
      yP = rand() % 100+20;
      score++;
    }
    if (myTouch.dataAvailable()) {
        myTouch.read();
        x=myTouch.getX();
        y=myTouch.getY();
        if ((x>=0) && (x<=319) &&(y>=50) && (y<=239)) {
          fallRate=-5;
        }
    }
    buttonState = digitalRead(button);
    if (buttonState == HIGH) {
      fallRate=-5;
      }
  }
    if (myTouch.dataAvailable()) {
        myTouch.read();
        x=myTouch.getX();
        y=myTouch.getY();
        if ((x>=10) && (x<=60) &&(y>=10) && (y<=36)) {
          drawFrame(10, 10, 60, 36);
          currentPage = '0';
          myGLCD.clrScr();
          drawHomeScreen();
          analogWrite(redLed, 0);
          analogWrite(greenLed, 0);
          analogWrite(blueLed, 0);
        }
    }
}
[code]

Part 2 of the Code

// ====== Custom Funtions ======
// drawHomeScreen - Custom Function
void drawHomeScreen() {
  // Title
  myGLCD.setBackColor(0,0,0); // Sets the background color of the area where the text will be printed to black
  myGLCD.setColor(255, 255, 255); // Sets color to white
  myGLCD.setFont(BigFont); // Sets font to big
  myGLCD.print("Arduino TFT Tutorial", CENTER, 10); // Prints the string on the screen
  myGLCD.setColor(255, 0, 0); // Sets color to red
  myGLCD.drawLine(0,32,319,32); // Draws the red line
  myGLCD.setColor(255, 255, 255); // Sets color to white
  myGLCD.setFont(SmallFont); // Sets the font to small
  myGLCD.print("by HowToMechatronics.com", CENTER, 41); // Prints the string
  myGLCD.setFont(BigFont);
  myGLCD.print("Select Example", CENTER, 64);
  
  // Button - Distance Sensor
  myGLCD.setColor(16, 167, 103); // Sets green color
  myGLCD.fillRoundRect (35, 90, 285, 130); // Draws filled rounded rectangle
  myGLCD.setColor(255, 255, 255); // Sets color to white
  myGLCD.drawRoundRect (35, 90, 285, 130); // Draws rounded rectangle without a fill, so the overall appearance of the button looks like it has a frame
  myGLCD.setFont(BigFont); // Sets the font to big
  myGLCD.setBackColor(16, 167, 103); // Sets the background color of the area where the text will be printed to green, same as the button
  myGLCD.print("DISTANCE SENSOR", CENTER, 102); // Prints the string
  
  // Button - RGB LED Control
  myGLCD.setColor(16, 167, 103);
  myGLCD.fillRoundRect (35, 140, 285, 180);
  myGLCD.setColor(255, 255, 255);
  myGLCD.drawRoundRect (35, 140, 285, 180);
  myGLCD.setFont(BigFont);
  myGLCD.setBackColor(16, 167, 103);
  myGLCD.print("RGB LED CONTROL", CENTER, 152);

  // Button - Birduino
  myGLCD.setColor(16, 167, 103);
  myGLCD.fillRoundRect (35, 190, 285, 230);
  myGLCD.setColor(255, 255, 255);
  myGLCD.drawRoundRect (35, 190, 285, 230);
  myGLCD.setFont(BigFont);
  myGLCD.setBackColor(16, 167, 103);
  myGLCD.print("BIRDUINO GAME", CENTER, 202);
}

// Highlights the button when pressed
void drawFrame(int x1, int y1, int x2, int y2) {
  myGLCD.setColor(255, 0, 0);
  myGLCD.drawRoundRect (x1, y1, x2, y2);
  while (myTouch.dataAvailable())
    myTouch.read();
    myGLCD.setColor(255, 255, 255);
    myGLCD.drawRoundRect (x1, y1, x2, y2);
}
//====================================================
void drawDistanceSensor() {
  myGLCD.setColor(100, 155, 203);
  myGLCD.fillRoundRect (10, 10, 60, 36);
  myGLCD.setColor(255, 255, 255);
  myGLCD.drawRoundRect (10, 10, 60, 36);
  myGLCD.setFont(BigFont);
  myGLCD.setBackColor(100, 155, 203);
  myGLCD.print("<-", 18, 15);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.setFont(SmallFont);
  myGLCD.print("Back to Main Menu", 70, 18);
  myGLCD.setFont(BigFont);
  myGLCD.print("Ultrasonic Sensor", CENTER, 50);
  myGLCD.print("HC-SR04", CENTER, 76);
  myGLCD.setColor(255, 0, 0);
  myGLCD.drawLine(0,100,319,100);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.setColor(255, 255, 255);
  myGLCD.setFont(SmallFont);
  myGLCD.print("Select Unit", 10, 114);
  myGLCD.setFont(BigFont);
  myGLCD.print("Distance:", 130, 120);
  myGLCD.setColor(223, 77, 55);
  myGLCD.fillRoundRect (10, 135, 90, 163);
  myGLCD.setColor(225, 255, 255);
  myGLCD.drawRoundRect (10, 135, 90, 163);
  myGLCD.setBackColor(223, 77, 55);
  myGLCD.setColor(255, 255, 255);
  myGLCD.print("cm", 33, 140);
  myGLCD.setColor(223, 77, 55);
  myGLCD.fillRoundRect (10, 173, 90, 201);
  myGLCD.setColor(255, 255, 255);
  myGLCD.drawRoundRect (10, 173, 90, 201);
  myGLCD.setBackColor(223, 77, 55);
  myGLCD.setColor(255, 255, 255);
  myGLCD.print("inch", 17, 180);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.setFont(SmallFont);
  myGLCD.print("Source code at: HowToMechatronics.com", CENTER, 220);  
}
//====================================================
//===== getDistance - Custom Function
void getDistance() {
  // Clears the trigPin
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2);
  // Sets the trigPin on HIGH state for 10 micro seconds
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  // Reads the echoPin, returns the sound wave travel time in microseconds
  duration = pulseIn(echoPin, HIGH);
  // Calculating the distance
  distanceCm= duration*0.034/2;
  distanceInch= distanceCm/2.53;
  // Prints the distance in centimeters
  if (selectedUnit == '0' && distanceCm <=400) {
    myGLCD.setFont(SevenSegNumFont);
    myGLCD.setColor(0, 255, 0);
    myGLCD.setBackColor(0, 0, 0);
    myGLCD.printNumI(distanceCm,130, 145, 3,'0');
    myGLCD.setFont(BigFont);
    myGLCD.print("cm  ", 235, 178);
  
  }
  // Prints the distance in inches
  if (selectedUnit == '1' && distanceCm <=160) {
    myGLCD.setFont(SevenSegNumFont);
    myGLCD.setColor(0, 255, 0);
    myGLCD.setBackColor(0, 0, 0);
    myGLCD.printNumI(distanceInch,130, 145, 3,'0');
    myGLCD.setFont(BigFont);
    myGLCD.print("inch", 235, 178);
  } 
  delay(10);
}
//====================================================
void drawLedControl() {
  myGLCD.setColor(100, 155, 203);
  myGLCD.fillRoundRect (10, 10, 60, 36);
  myGLCD.setColor(255, 255, 255);
  myGLCD.drawRoundRect (10, 10, 60, 36);
  myGLCD.setFont(BigFont);
  myGLCD.setBackColor(100, 155, 203);
  myGLCD.print("<-", 18, 15);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.setFont(SmallFont);
  myGLCD.print("Back to Main Menu", 70, 18);
  myGLCD.setFont(BigFont);
  myGLCD.print("RGB LED Control", CENTER, 50);
  myGLCD.print("LED Color:", 10, 95);
  myGLCD.print("R", 10, 135);
  myGLCD.print("G", 10, 175);
  myGLCD.print("B", 10, 215);
  myGLCD.setColor(255, 0, 0);
  myGLCD.drawLine(0,75,319,75); 
  myGLCD.setColor(255, 255, 255);
  myGLCD.drawRect(30, 138, 310, 148); // R - Slider
  myGLCD.drawRect(30, 178, 310, 188);
  myGLCD.drawRect(30, 218, 310, 228);  
}

Part 3 of code

void drawBird(int y) {
  if(y<=219) {
    myGLCD.drawBitmap (50, y, 35, 30, bird01);
    myGLCD.setColor(114, 198, 206);
    myGLCD.fillRoundRect(50,y,85,y-6);
    myGLCD.fillRoundRect(50,y+30,85,y+36);
  }
  else if(y>=200) {
    myGLCD.drawBitmap (50, 200, 35, 30, bird01);
    myGLCD.setColor(114, 198, 206);
    myGLCD.fillRoundRect(50,200,85,200-6);
    myGLCD.fillRoundRect(50,200+30,85,200+36);
  }
}
void gameOver() {
  myGLCD.clrScr();
  myGLCD.setColor(255, 255, 255);
  myGLCD.setBackColor(0, 0, 0);
  myGLCD.setFont(BigFont);
  myGLCD.print("GAME OVER", CENTER, 40);
  myGLCD.print("Score:", 100, 80);
  myGLCD.printNumI(score,200, 80);
  myGLCD.print("Restarting...", CENTER, 120);
  myGLCD.setFont(SevenSegNumFont);
  myGLCD.printNumI(2,CENTER, 150);
  delay(1000);
  myGLCD.printNumI(1,CENTER, 150);
  delay(1000);
  myGLCD.setColor(114, 198, 206);
  myGLCD.fillRect(0,0,319,239);
  drawBird(30);
  drawGround();
  delay(1000);
}
//====================================================
void restartGame() {
  delay(1000);
  gameOver();
  xP=319;
  yB=30;
  fallRate=0;
  score=0;
}

final part
this was in another tab on the code

// Generated by  : ImageConverter 565 v2.3
// Generated from: bird01-01.png
// Time generated: 02.12.2015 17:10:58
// Dimensions    : 35x30 pixels
// Size          : 2.100 Bytes

#include <avr/pgmspace.h>

const unsigned short bird01[0x41A] PROGMEM ={
0x6E39, 0x6E39, 0x7659, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x7639,   // 0x0010 (16)
0x6E3A, 0x6E5A, 0x6E3A, 0x7639, 0x6E39, 0x6E39, 0x6E5A, 0x6E5A, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39,   // 0x0020 (32)
0x7659, 0x6E5A, 0x6E5A, 0x6E39, 0x6E39, 0x6E5A, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E39, 0x6E5A,   // 0x0030 (48)
0x6E5A, 0x6E5A, 0x6E5A, 0x6E3A, 0x6E19, 0x6E3A, 0x6E5A, 0x6E5A, 0x6E5A, 0x6E19, 0x6E39, 0x6E5A, 0x6E5A, 0x6E5A, 0x6E39, 0x6E39,   // 0x0040 (64)
0x6E39, 0x6E39, 0x6E39, 0x6E5A, 0x6E39, 0x763A, 0x6E59, 0x763A, 0x767A, 0x765A, 0x765A, 0x765A, 0x765A, 0x765A, 0x765A, 0x765A,   // 0x0050 (80)
0x765A, 0x767A, 0x765A, 0x6E19, 0x6DF9, 0x6E19, 0x75D7, 0x7D75, 0x7DD7, 0x7618, 0x6DD8, 0x6DF8, 0x7D97, 0x7D97, 0x75F8, 0x6DF8,   // 0x0060 (96)
0x765A, 0x767A, 0x765A, 0x765A, 0x765A, 0x765A, 0x767A, 0x765A, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639,   // 0x0070 (112)
0x7639, 0x7639, 0x765A, 0x765A, 0x6DD8, 0x7555, 0x8CCF, 0x8C8C, 0x94AC, 0xAD4B, 0xB58B, 0x9CCB, 0x7BED, 0x7BEF, 0x94B3, 0xB5B7,   // 0x0080 (128)
0xAD76, 0x94D3, 0x8C92, 0x7535, 0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639,   // 0x0090 (144)
0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E3A, 0x6D35, 0x844D, 0xA4EA, 0xE6C8, 0xFF85, 0xF766, 0xFF85, 0xEF27, 0xA4EC, 0xA515,   // 0x00A0 (160)
0xF77E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x9CF4, 0x7515, 0x7639, 0x6E5A, 0x7639, 0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39,   // 0x00B0 (176)
0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x75F9, 0x6C92, 0x948A, 0xE6A8, 0xFF85, 0xF766, 0xF786, 0xF785, 0xFF86,   // 0x00C0 (192)
0xAD2A, 0xB597, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xA514, 0x7535, 0x6E39, 0x765A, 0x7639, 0x765A,   // 0x00D0 (208)
0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x765A, 0x75F9, 0x6C31, 0x9CA9, 0xF767, 0xFF85, 0xF766, 0xF766,   // 0x00E0 (224)
0xF766, 0xFFA5, 0xCE29, 0xAD74, 0xEF7E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xF7BE, 0xFFFF, 0xEF5D, 0x8CB3, 0x6DB7,   // 0x00F0 (240)
0x6E5A, 0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x6E5A, 0x6E39, 0x7492, 0x9CA8, 0xF767, 0xF786,   // 0x0100 (256)
0xF766, 0xF766, 0xF766, 0xF766, 0xFFA5, 0xB589, 0xB5B8, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD6BA, 0x7C10, 0xD69A, 0xFFFF,   // 0x0110 (272)
0xFFFF, 0x9CF4, 0x6D97, 0x6E5A, 0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x763A, 0x765A, 0x7575, 0x9CCB,   // 0x0120 (288)
0xF766, 0xF786, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFFA5, 0xBDEA, 0xC61A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC639,   // 0x0130 (304)
0x94B3, 0xE71C, 0xFFFF, 0xFFFF, 0xBDD7, 0x7D76, 0x6E39, 0x763A, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x6E5A,   // 0x0140 (320)
0x6DD8, 0x8CAE, 0xE6C8, 0xFF85, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFFA5, 0xC5EB, 0xC61A, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0150 (336)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE59, 0x7D76, 0x6E19, 0x765A, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39,   // 0x0160 (352)
0x765A, 0x765A, 0x765A, 0x7576, 0x9CCA, 0xFF85, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFFA5, 0xBDA9, 0xBDF9,   // 0x0170 (368)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA514, 0x7555, 0x7659, 0x7639, 0x765A, 0x6E39,   // 0x0180 (384)
0x763A, 0x6E39, 0x6E39, 0x765A, 0x6E5A, 0x6DF8, 0x84CF, 0xDE88, 0xF785, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766,   // 0x0190 (400)
0xFFA5, 0xBDA8, 0xAD97, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x9CB2, 0x740F, 0x75F8,   // 0x01A0 (416)
0x6E5A, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x765A, 0x6DB8, 0x8C6B, 0xFF85, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766,   // 0x01B0 (432)
0xF766, 0xF766, 0xF766, 0xFF85, 0xE707, 0xA52F, 0xCE5B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xBDF8,   // 0x01C0 (448)
0xAD4D, 0x842C, 0x6DB7, 0x765A, 0x765A, 0x6E39, 0x763A, 0x6E7A, 0x6E7A, 0x767A, 0x6E7B, 0x6DD8, 0x94AB, 0xFFA5, 0xFFA5, 0xFFA5,   // 0x01D0 (464)
0xFFA5, 0xFFA5, 0xFFA5, 0xFFA5, 0xFFA5, 0xF765, 0xF766, 0xFFC5, 0xCE26, 0x94B0, 0xCE5B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x01E0 (480)
0xF7BF, 0xC619, 0xA4EE, 0xE6E6, 0x9D0B, 0x6DB8, 0x6E5A, 0x765A, 0x6E39, 0x763A, 0x7DF8, 0x64F4, 0x6D35, 0x6D35, 0x6CD3, 0x7C0B,   // 0x01F0 (496)
0xC5C9, 0xBDC9, 0xBDC9, 0xBDC9, 0xBDC9, 0xC5E9, 0xB588, 0xC608, 0xF767, 0xF766, 0xF766, 0xFFA6, 0xCE26, 0x9CEE, 0xAD77, 0xBDD9,   // 0x0200 (512)
0xC65B, 0xC63B, 0xBDF9, 0xAD75, 0xAD4B, 0xEF27, 0xFFC5, 0x9CEB, 0x6DD8, 0x6E7B, 0x6E7A, 0x6E39, 0x763A, 0x530C, 0x8451, 0xC618,   // 0x0210 (528)
0xC618, 0xC618, 0xBDF7, 0xC618, 0xC618, 0xC618, 0xC618, 0xC618, 0xC618, 0xA556, 0x7BCE, 0xC5E8, 0xFFA5, 0xF766, 0xF766, 0xFFC5,   // 0x0220 (544)
0xE6E7, 0xAD48, 0xB569, 0xBDCB, 0xBDCB, 0xB58A, 0xA4EB, 0xD649, 0xE6C7, 0xDE88, 0x9CAB, 0x7D55, 0x7DB7, 0x7DB7, 0x6E5A, 0x6E5A,   // 0x0230 (560)
0x5AEC, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD56, 0x9CE9, 0xFFC5,   // 0x0240 (576)
0xF766, 0xF766, 0xF766, 0xFF85, 0xFFC5, 0xFFA5, 0xFFA5, 0xFFC5, 0xCE08, 0xBC69, 0xBC09, 0xBC0A, 0xBC0A, 0xA389, 0xA3CB, 0xABEC,   // 0x0250 (592)
0xA3EC, 0x7CB2, 0x6E39, 0x94B2, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0260 (608)
0xD6BC, 0xB56B, 0xFFA5, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFF85, 0xDE89, 0x93CA, 0xC287, 0xEAC5, 0xE2C6, 0xE2C6,   // 0x0270 (624)
0xE2E6, 0xEAC5, 0xEAC5, 0xE2C5, 0x82E9, 0x7514, 0x738E, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0280 (640)
0xFFFF, 0xFFFF, 0xFFFF, 0xBDF9, 0xA50A, 0xFFA5, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF786, 0xEF07, 0xA46A, 0x9AE8,   // 0x0290 (656)
0xAAE7, 0xAAE8, 0xAAE8, 0xAAE8, 0xAAE8, 0xAAE8, 0xA2E8, 0x840F, 0x7D96, 0x52EB, 0x8C51, 0xBDB7, 0xBDD7, 0xBDD7, 0xBDD7, 0xBDF8,   // 0x02A0 (672)
0xB5B8, 0xB5B8, 0xB5B8, 0xB5B8, 0xBDD9, 0x9D16, 0x73AF, 0xBD89, 0xFFA5, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF785,   // 0x02B0 (688)
0xE6C8, 0xA44A, 0xB2E8, 0xCAC6, 0xC2E7, 0xC2E7, 0xC2E7, 0xC2E7, 0xC2E7, 0xBAC7, 0x83AD, 0x7D55, 0x6D35, 0x5CB3, 0x7576, 0x7576,   // 0x02C0 (704)
0x7597, 0x6CF5, 0x842C, 0xD669, 0xCE49, 0xCE29, 0xCE29, 0xCE49, 0xBDC8, 0xC5C6, 0xEF27, 0xF786, 0xF766, 0xF766, 0xF766, 0xF766,   // 0x02D0 (720)
0xF766, 0xF766, 0xF785, 0xE6E8, 0x93EA, 0xBAA7, 0xDAE6, 0xDAE6, 0xDAE6, 0xDAE6, 0xDAE6, 0xDAE6, 0xD2E6, 0x82E9, 0x7555, 0x769B,   // 0x02E0 (736)
0x6E7A, 0x6E7A, 0x6E5A, 0x6E7A, 0x6DF9, 0x84CF, 0xD648, 0xFFC4, 0xFFA5, 0xFFA5, 0xFFA5, 0xFFA5, 0xFFC5, 0xFF85, 0xF766, 0xF766,   // 0x02F0 (752)
0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFF86, 0xD668, 0xBCCA, 0xBC8A, 0xA3EA, 0x9BCC, 0x9C2E, 0x9C4E, 0x9C4E, 0x9C4F,   // 0x0300 (768)
0x7555, 0x6E3A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x765A, 0x7597, 0x94AD, 0xEF08, 0xFF85, 0xF766, 0xF766, 0xF766, 0xF766,   // 0x0310 (784)
0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFF86, 0xF747, 0xDE89, 0x948C, 0x7555, 0x75F8,   // 0x0320 (800)
0x75F8, 0x75F8, 0x7618, 0x6E5A, 0x765A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x765A, 0x763A, 0x6CF3, 0x8C4A, 0xEF08, 0xFF85,   // 0x0330 (816)
0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFF85, 0xEF28, 0x9469,   // 0x0340 (832)
0x6CF3, 0x6E5A, 0x6E5A, 0x6E5A, 0x6E5A, 0x6E7A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E19,   // 0x0350 (848)
0x6493, 0x8C4A, 0xEF08, 0xFF85, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xF766, 0xFF85,   // 0x0360 (864)
0xEF08, 0x944A, 0x6472, 0x6E19, 0x765A, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639,   // 0x0370 (880)
0x7639, 0x7639, 0x765A, 0x6E3A, 0x6D14, 0x8C4C, 0xBDA9, 0xF766, 0xF765, 0xF766, 0xF766, 0xF766, 0xF786, 0xF766, 0xF766, 0xF766,   // 0x0380 (896)
0xF765, 0xF766, 0xBDC9, 0x8C4C, 0x6CF4, 0x6E3A, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x6E39,   // 0x0390 (912)
0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E5A, 0x7597, 0x7C90, 0x842B, 0xBDAA, 0xEF27, 0xF765, 0xF766, 0xF765,   // 0x03A0 (928)
0xF766, 0xF765, 0xEF27, 0xBDAA, 0x842B, 0x7C90, 0x7597, 0x6E5A, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x6E39,   // 0x03B0 (944)
0x763A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x765A, 0x6DF9, 0x6D97, 0x7D34, 0x8CAE,   // 0x03C0 (960)
0x94AC, 0x94AC, 0x842B, 0x94AC, 0x94AC, 0x8CAE, 0x7D33, 0x6D97, 0x6DF9, 0x765A, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639,   // 0x03D0 (976)
0x7639, 0x765A, 0x6E39, 0x763A, 0x6E39, 0x765A, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A,   // 0x03E0 (992)
0x767B, 0x765A, 0x6E19, 0x75F9, 0x75F9, 0x6DF9, 0x75F9, 0x75F9, 0x6E19, 0x765A, 0x767B, 0x767A, 0x767A, 0x767A, 0x767A, 0x767A,   // 0x03F0 (1008)
0x767A, 0x767A, 0x767A, 0x767A, 0x767A, 0x765A, 0x6E3A, 0x6E39, 0x6E39, 0x765A, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639,   // 0x0400 (1024)
0x7639, 0x7639, 0x7639, 0x7639, 0x6E3A, 0x6E5A, 0x6E5A, 0x6E5A, 0x765A, 0x6E5A, 0x6E5A, 0x6E5A, 0x6E3A, 0x7639, 0x7639, 0x7639,   // 0x0410 (1040)
0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x7639, 0x765A, 0x7639, 0x763A, };

That stuff you had in red isn't any sort of error. It's just telling you what it is doing. It's saving a copy of the built core.

//==== Defining Variables
extern uint8_t SmallFont[];
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];

No, that's Declaring variables. Where are they Defined?

Delta_G:
That stuff you had in red isn't any sort of error. It's just telling you what it is doing. It's saving a copy of the built core.

Oh ok that's good to know, why is it red and the rest white?

gfvalvo:

//==== Defining Variables

extern uint8_t SmallFont;
extern uint8_t BigFont;
extern uint8_t SevenSegNumFont;




No, that's **Declaring** variables. Where are they **Defined**?

I'm not too sure, the example is from mechatronics, the only thing I have actually done to the code at this point is changed the uTouch library to URtouch

aperson61:
Oh ok that's good to know, why is it red and the rest white?

Who knows. Because someone picked a red font maybe? The text itself is the important part. Errors usually have the word "error" in them somewhere.

What is this "error" thing you speak of? :slight_smile:

I have submitted an issue report regarding the color of this message and requesting that it only be shown in verbose compilation output (it's currently shown in the non-verbose output also):

Hi,

I reply on this conversation because I found the same error using the Arduino IDE as follow

Archiving built core (caching) in: C:\Users\stefano\AppData\Local\Temp\arduino_cache_69848\core\core_arduino_avr_mega_cpu_atmega2560_a94ab6aaf61dfb93b4a8079c694a14c2.a

This text appear after the code check

Please inform me if you have found some solution for this error

Archiving built core (caching) in: C:\Users\stefano\AppData\Local\Temp\arduino_cache_69848\core\core_arduino_avr_mega_cpu_atmega2560_a94ab6aaf61dfb93b4a8079c694a14c2.a

I see no error

"Archiving built core (caching)" is just a message, not an error. It is a bug that it is shown in the orange color of errors instead of the white color of non-error messages.