I have RFID-RC522 and I want to use it together with my ESP8266. I had some ideas, like reading a GPIO pin, but api_gpio.js only reads 0 or 1, but I need more information. How can I get information from a GPIO pin so that when RC522 reads a card, I can check if it’s valid or not, or is there a better way to do it (like a library)?
I connected everything and I use SPI api. When I look at output, all I see are “\x00\x00…” and when I put a card near RD522, the output doesn’t change. How to check if my SPI connection is good?