Xerxes3rd / Wifiibo

Application and supporting library to manage amiibos using an ESP8266
68 stars 12 forks source link

MFRC522 I2C Support #21

Open gmunday2 opened 4 years ago

gmunday2 commented 4 years ago

Hi , i wanted to make my wifibo system smaller and have a m5stick, and m5 rfid reader, which is a mrc522 connected to spi.

the iic address is 0x28

the rfid unit is the same one as here : https://www.banggood.com/Mini-RFID-Module-RC522-Module-Sensor-for-SPI-Writer-Reader-IC-Card-with-Grove-Port-I2C-Interface-p-1541361.html?cur_warehouse=CN

is there any way to modify code so this system will work?

Xerxes3rd commented 4 years ago

Unfortunately, I only adapted the library to support SPI, not I2C. I might be able to add I2C support but I only have older versions of the MFRC522, and the newer (version 2.0) MFRC522 chips don't seem to work with the library, so my code might now work with your board. Pull requests are welcome if you want to implement it!