ondryaso / pi-rc522

Raspberry Pi Python library for SPI RFID RC522 module
MIT License
412 stars 150 forks source link

Something wrong while running the demo code. #2

Closed prikevs closed 8 years ago

prikevs commented 9 years ago

Thanks a lot !

faultylee commented 8 years ago

@prikevs the demo code is missing select_tag() before calling card_auth(). You can see the updated readme here

EDIT: Also, card_auth() returns error so it should be if not rdr.card_auth(...):