 //Defining variables
 
 //Initialize the variables for color frequences
-byte frequency = 0;
+//byte frequency = 0;
 byte f_RED = 0;
 byte f_GREEN = 0;
 byte f_BLUE = 0;
 
 //Calibration matrix
-const byte f[][6] = {{16, 21, 16, 22, 13, 17},         //white
+byte f[][6] = {{16, 21, 16, 22, 13, 17},         //white
                {13, 18, 21, 27, 25, 29},         //yellow
                {15, 21, 31, 35, 26, 31},         //orange
                {23, 29, 34, 43, 32, 37},         //red

void solvingOptions() {
  selectedButton = selectOption(F("Solving mode?"), F("Python   Arduino"), F("Python"), F("         Arduino"));
  if (selectedButton == 0) pythonSolveOperation();
  else delay(5000);      //arduinoSolveOperation();
}



}


//Method for general process of solving the cube on Arduino
void arduinoSolveOperation() {
  operateFlag = true;
  //scanCube();  ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  detachInterrupt(0);
  copyCube();
  solveCube();
  assembleCube(SolvedCube);
  detachInterrupt(0);
}



