Skip to content

Commit

Permalink
Increase AmiiBombuino RxGain
Browse files Browse the repository at this point in the history
by StandardBus
  • Loading branch information
AcK77 committed May 11, 2017
1 parent d941a05 commit dbf2d2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AmiiBombuino/MFRC522.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit dbf2d2d

Please sign in to comment.