miguelbalboa/rfid

RFID compile error with Arudino MEGA for read/write & dumpinfo

Closed this issue · 4 comments

Hi, i used the code provided below and i couldn't compile ReadAndWrite due to an error,

"invalid conversion from 'byte {aka unsigned char}' to 'MFRC522::PICC_Type' [-fpermissive]".

readandwrite error

As for Dumpinfo, the error is "'class MFRC522' has no member named 'PCD_DumpVersionToSerial'"

dumpinfo error

Update your mfrc522 lib. I added PCD_DumpVersionToSerial with commit f7f2d5d .

how do i update?

Found it. Thanks.