add firmware version to ShowReaderDetails
This commit is contained in:
@@ -62,7 +62,9 @@ void ShowReaderDetails() {
|
|||||||
byte v = mfrc522.PCD_ReadRegister(mfrc522.VersionReg);
|
byte v = mfrc522.PCD_ReadRegister(mfrc522.VersionReg);
|
||||||
Serial.print(F("Firmware Version: 0x"));
|
Serial.print(F("Firmware Version: 0x"));
|
||||||
Serial.print(v, HEX);
|
Serial.print(v, HEX);
|
||||||
if (v == 0x91)
|
if (v == 0x90)
|
||||||
|
Serial.print(F(" = v0.0"));
|
||||||
|
else if (v == 0x91)
|
||||||
Serial.print(F(" = v1.0"));
|
Serial.print(F(" = v1.0"));
|
||||||
else if (v == 0x92)
|
else if (v == 0x92)
|
||||||
Serial.print(F(" = v2.0"));
|
Serial.print(F(" = v2.0"));
|
||||||
|
|||||||
Reference in New Issue
Block a user