Okay, let's take this bit by bit: 1. cross check if your SS pin defined in code and hardware are th
Okay, let's take this bit by bit:
- cross check if your SS pin defined in code and hardware are the same - that's the only variable I notice in the code.
- UID is from the RFID tag. Are you placing the card on top of the reader? The main loop continually keeps scanning.
- If you doubt over hardware or connections made, hook a logic-analyzer and check the SPI frame.






