   pinMode(SHOW_SPLASH_PIN, INPUT);
   pinMode(USE_GPS_PIN, INPUT);
   Serial.println(F("Pins and directions successfully set..."));
+  
+  Serial.println(F("Attaching interrupts..."));
+  // Attaching interrupts
+  attachInterrupt(ENCODER_PIN_A, encoderRiseA, RISING);
+  attachInterrupt(ENCODER_PIN_B, encoderRiseB, RISING);
+  Serial.println(F("Interrupts successfully attached..."));
 
   Serial.println(F("Initializing TFT with resolution 800x480..."));
   initTFT();

  drawGPSData();
  drawCompassData();
  drawControllerData();
}

/*************************************************

#define SD_CS 4
#define SHOW_SPLASH_PIN 5
#define USE_GPS_PIN 8
#define ENCODER_PIN_A 11
#define ENCODER_PIN_B 12

// Navigation defines
#define DEGREE_LIMIT_MAX 360
#define DEGREE_LIMIT_MIN 1
#define DEGREE_STEP 0.5

// Different baud rates and serial stuff
#define BAUD_RATE 115200   // Desired baud rate for serial debug communication
