Skip to content
This repository has been archived by the owner on Nov 18, 2018. It is now read-only.

Enable highest power gain on the MFRC522 module #2

Closed
standardbus opened this issue May 11, 2017 · 1 comment
Closed

Enable highest power gain on the MFRC522 module #2

standardbus opened this issue May 11, 2017 · 1 comment
Assignees

Comments

@standardbus
Copy link

This has to be changed on the MFRC522 library (tested on my NFC module and working for Amiibomb):

Edit MFRC522.cpp Arduino library and find

PCD_AntennaOn(); // Enable the antenna driver pins TX1 and TX2 (they were disabled by the reset)

before the line PCD_AntennaOn(); add this line

PCD_WriteRegister(RFCfgReg, (0x07<<4)); // Set Rx Gain to max

...then save MFRC522.cpp and recompile the AmiiBomb.ino

@AcK77 AcK77 self-assigned this May 11, 2017
@AcK77
Copy link
Owner

AcK77 commented May 11, 2017

Big thanks about this feature! I'll try to update the code of AmiiBombuino soon ;) 👍

AcK77 referenced this issue May 11, 2017
@AcK77 AcK77 closed this as completed May 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants