 }
 
 void setup() {
+  lcd.begin(16, 2);
+  lcd.print("Booting....");
+  
   Serial.begin(9600);		// Initialize serial communications with the PC
+  
   SPI.begin();			// Init SPI bus
   mfrc522.PCD_Init();		// Init MFRC522
+  
   updateDisplay();
 }
 

String buffer = "";

void updateDisplay() {
  if (state == LOCKED) {
    Serial.println("+--------------------+");
    Serial.println("|                    |");
    Serial.println("| Hello Stranger!    |");
    Serial.println("|   Door is locked.  |");
    Serial.println("|                    |");
    Serial.println("+--------------------+");
  } else if (state == PIN_ENTRY) {
    Serial.println("+--------------------+");
    Serial.println("|Entry token read.   |");
    Serial.println("|Please enter PIN:   |");
    Serial.print("| ");


Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

#include <LiquidCrystal.h>
LiquidCrystal lcd(A4, A5, A0, A1, A2, A3);

States state = LOCKED;
long timeout_start = 0;
long timeout = 10000;
