diff --git a/AmiiBombuino/MFRC522.cpp b/AmiiBombuino/MFRC522.cpp index 7800e24..9fbee54 100644 --- a/AmiiBombuino/MFRC522.cpp +++ b/AmiiBombuino/MFRC522.cpp @@ -230,6 +230,7 @@ void MFRC522::PCD_Init() { PCD_WriteRegister(TxASKReg, 0x40); // Default 0x00. Force a 100 % ASK modulation independent of the ModGsPReg register setting PCD_WriteRegister(ModeReg, 0x3D); // Default 0x3F. Set the preset value for the CRC coprocessor for the CalcCRC command to 0x6363 (ISO 14443-3 part 6.2.4) + PCD_WriteRegister(RFCfgReg, (0x07<<4)); // Set Rx Gain to max PCD_AntennaOn(); // Enable the antenna driver pins TX1 and TX2 (they were disabled by the reset) } // End PCD_Init()