Problem with Rfid Wiegand

Hello everyone I have a problem with the following code I have a menu of options but I can not access it.

for example by pressing the p key to send me should the routine to print the database of the eeprom but it does not, is the same case for the other options I hope your help

arduino_rfid_controller.ino (10.3 KB)

void loop() {
  //readSerialInput();

Perhaps if you uncommented the code that cares about the key you press, pressing a key would actually do something. It's only a suggestion, mind you.

and uncomment it but still no access to menu options

but still no access to menu options

Then the next step is to add some debug statements to write back to the serial port. Figure out where the code is, and isn't, getting to.