         }
         break;
       }
-      case 'I':
-      {
-        int k = 0;
-        num_usr_settings_day = Serial.parseInt();  //The first int is the number of user settings for a day from the user
-        while(k < num_usr_settings_day){
-          for(int i = 0; i < NUM_SETTINGS_DAY; i++){
-            usrSchInd[k][i] = Serial.parseInt();
-            Serial.print(usrSchInd[k][i]);
-            if(i==NUM_SETTINGS_DAY-1){
-              k = k++;
-              Serial.println("");
-            }
-            else{
-              Serial.print(",");
-            }
-          }
-        }
-        break;
-      }
     }
 }
 
 void scheduleFromUser() {
   // Change every hour
-  int x = hour(t); //0-23
+  int x = hour(t); // 0-23
   int y = day(t) % num_usr_settings_day; // Rotate the days
   int z = usrSchInd[y][x];
 

    if (sensorTempData[0] >= 30 || sensorTempData[1] >= 50) {
      setFan(1);
    }
    if(sensorTempData[0] < 30 && sensorTempData[1] < 50) {
      setFan(0);
    }


int sensorTempData[] = {0,0,0}; // temp, humid, light

void setup() {
  Wire.begin();       // Connects I2C
  Serial.begin(9600); // Serial port at 9600 baud
  dht.begin();        // Start the dht object

  // Set the time
  setTime(20,0,0,1,1,2014); // hour,min,sec,day,month,year

  // Set pins as outputs
  pinMode(RED, OUTPUT);
