diff --git a/RFIDDoorUnlock201.ino b/RFIDDoorUnlock201.ino index 64f5b04..1db0d53 100644 --- a/RFIDDoorUnlock201.ino +++ b/RFIDDoorUnlock201.ino @@ -163,7 +163,7 @@ void setup() { } } //Check if master card defined, if not let user choose a master card - if (EEPROM.read(1) == 0) { // Look EEPROM if Master Card defined, EEPROM address 1 holds if defined + if (EEPROM.read(1) != 1) { // Look EEPROM if Master Card defined, EEPROM address 1 holds if defined Serial.println("No Master Card Defined"); Serial.println("Scan A PICC to Define as Master Card"); do {