forked from semaf/MFRC522_I2C_Library
3a07f16eecb6fc474266941f4e0cc1e155a78e3e
MFRC522 i2c
Code is compatible to Arduino and ESP8266 (NodeMCU)
Set the Pin for the RST and i2c address!
#define RST_PIN 6 // Arduino UNO
// #define RST_PIN 14 // D5 on NodeMCU
// 0x28 is i2c address of the NFC Reader. Check your address with i2cscanner if not match.
MFRC522 mfrc522(0x28, RST_PIN); // Create MFRC522 instance.
Languages
C++
99.7%
CMake
0.3%