Open goodshileidev opened 6 years ago
Hi,
I have not looked at this for a while. However, I have noticed with some other projects, that the nodeMCU firmware does change a bit. Newer versions of the firmware are not necessarily compatible with code made on older version.
Hi,
Can you share the firmwire used by you?
Thanks a lot.
Not 100% sure which one I used. I have uploaded one (but not tested it). Can you please git it a go and let me know.
Hi, Ben
It's very pleased to find your code on this topic. But unfortunately your code cannot work for me. Actually your code can run without any error, but cannot detect any card. And I set up a Raspberry Pi ,connected it with the RC522 board, ran it with MFRC522-python it worked well and surely can detect the cards. To find out what's going wrong, I did a debug-like trace to compare every step between 8266 and Raspberry Pi and find that the first difference came from your code line 175 where return 20, whereas 21 returned at the same logic on Raspberry Pi . I changed three RC522 board and the result was same.
175: n = RC522.dev_read(0x04) -- ComIrqReg
Did you meet something problems like this , or can you give me some advice ?
Thanks a lot.