'class MFRC522' has no member named 'PICC_HaltA'

Could you help me please? I have an error

error code

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
In file included from servo_motor.ino:30:
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:276: error: use of enum 'PICC_Type' without previous declaration
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:276: error: expected primary-expression before '{' token
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:276: error: expected ';' before '{' token
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:291: error: use of enum 'StatusCode' without previous declaration
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:291: error: expected primary-expression before '{' token
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:291: error: expected ';' before '{' token
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:337: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:354: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:355: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:356: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:357: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:358: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:359: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:360: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:365: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:367: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:368: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:369: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:370: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:371: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:372: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:373: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:374: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:375: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:376: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:381: error: 'StatusCode' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:384: error: expected ';' before '(' token
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:385: error: 'PICC_Type' does not name a type
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:388: error: expected ';' before '(' token
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:394: error: 'PICC_Type' has not been declared
C:\Users\BAYER\Documents\Arduino\libraries\rfid-master/MFRC522.h:413: error: 'StatusCode' does not name a type
servo_motor.ino: In function 'int getID()':
servo_motor:281: error: 'class MFRC522' has no member named 'PICC_HaltA'

The error is in the code that you have not posted

sorry. I send now in folder.

codes.txt (19.8 KB)

UKHeliBob:
The error is in the code that you have not posted

The error is in the library that you did not post a link to, not in your code.

Why do you have so much code for using a library that doesn't even compile?

PaulS:
The error is in the library that you did not post a link to, not in your code.

Why do you have so much code for using a library that doesn’t even compile?

I didnt know very well this hardware so just I copy this :confused:

I am trying “Dumping RFID” codes but it didn’t work :confused:

( by the way I can not speak English very well sorry for this)

I didnt know very well this hardware so just I copy this :confused:

From a subway wall?

Thank you dear friends. I solved it. I uploaded it and the problem was solved. :slight_smile: