      input = buffer[0];
    }
    
-   Serial.println(input);
    checkInput(input, answer);
 
     


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



#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;
