 
 #define mouth_open_pos    100
 #define mouth_closed_pos  30
+#define mouth_wait_pos    77
 
 MFRC522 mfrc522(SS_PIN, RST_PIN);	// Create MFRC522 instance
 MFRC522::MIFARE_Key key;


void checkInput(int input, int answer){
  if (input == answer){
    Serial.print("cor");
    closeMouth();
    delay(3000);
//    openMouth();
    Serial.flush();
  }
  else{
    Serial.print("w");
  }
}


     input = buffer[0];
   }
   
   checkInput(input, answer);

    
