mirror of
https://github.com/semaf/MFRC522_I2C_Library.git
synced 2025-06-24 22:41:33 +02:00
Create README.md
This commit is contained in:
committed by
GitHub
parent
6c9726e01d
commit
28244ca84f
13
README.md
Normal file
13
README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# MFRC522 i2c
|
||||
### Code is compatible to Arduino and ESP8266 (NodeMCU)
|
||||
|
||||
1. [Download and install following library from arozcan](https://github.com/semaf/MFRC522-I2C-Library)
|
||||
|
||||
2. __Set the Pin for the RST and i2c address!__
|
||||
```c++
|
||||
#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.
|
||||
```
|
Reference in New Issue
Block a user