 }
 
 int getAnswer(int firstnumber, int operation , int secondnumber){
-  int answer;
+  
   switch(operation){
-    case 10:
+    case 'D':
       answer = firstnumber + secondnumber;
       break;
-    case 11:
+    case 'E':
       answer = firstnumber - secondnumber;
       break;
-    case 12:
+    case 'F':
       answer = firstnumber * secondnumber;
       break;
   }

  char str[] = {a,b,c,NULL};
  Serial.write(str);
  if(strcmp(str,"anr")==0){
    Serial.write("anr123123");
    LCDA.DrawFullScreen(angryFace); 
  }
}


void checkInput(int input, int answer){
  if (input == answer){
    Serial.println("cor");
    
    closeMouth();
    //displaySingle("h", "a", "p"); //show happy face (when implemented)
    delay(3000);
//    openMouth();
    Serial.flush();
  }
  else{
    Serial.println("wro");
    openMouth();
    delay(2000);
    waitMouth();
  }
}

