 }
 
 // Displays the file name
-void displayFileName(char *fileName, boolean fileFound, int bmpWidth, int bmpHeight) {
+void displayFileName(char *fileName, bool fileFound, int bmpWidth, int bmpHeight) {
   static long lastRandomNumber;
   long randomColor;
   unsigned int textColor[] = {

  tft.setTextSize(1);
  if (!digitalRead(TEST_PIN)) {
    if (digitalRead(MODE_PIN)) { // Not test mode
      tft.setCursor(40, 0);
      tft.println("Random");
    }
    else {

  Serial.begin(9600);
  tft.initR(INITR_BLACKTAB);

  // Print program name and version
  Serial.println("Picture Viewer");
  Serial.print("Version ");
  Serial.println(VERSION);
