Help with some Arduino code for school project

Im doing a school project with RFIDso i bought a MFRC522 reader module to work with our project. It didnt come with set up guidelines but ive searched around on the internet and everything seems to point to the same site and set of codes.  I just want it to read the RFID cards it came with and show me the serial on the computer. This is the code that was given for this:

https://raw.githubusercontent.com/miguelbalboa/rfid/master/examples/DumpInfo/DumpInfo.ino

However i keep getting this error message whenever i try to verify or upload it to my arduino:

 

If you cant read it, it says

'MFRC522' does not name a type (in the orange bar up top)

 

sketch_apr25a:37: error: 'MFRC522' does not name a type
sketch_apr25a.ino: In function 'void setup()':
sketch_apr25a:42: error: 'mfrc522' was not declared in this scope
sketch_apr25a.ino: In function 'void loop()':
sketch_apr25a:48: error: 'mfrc522' was not declared in this scope
sketch_apr25a:53: error: 'mfrc522' was not declared in this scope
sketch_apr25a:58: error: 'mfrc522' was not declared in this scope

(in the bottom screen)

Looks like a lib issue.
Do you have the MFRC22 library installed properly?

I don’t think I installed it
I don’t think I installed it at all? How do I go about doing that?

I don’t think I installed it
I don’t think I installed it at all, how do I go about doing that?

Use your favorite search engine

and ask it how to install an arduino library. Once you do that, use the information gleaned from that search to figure out how to install the required library. If that doesn’t work, you are welcome to let us know what you did and what happened.

I realize I am not giving you the answer you want, but, you are in school. You need to learn. And, as far as it goes, I wouldn’t be able to tell you exactly how to install a lib right now. I have been out of the game too long. :stuck_out_tongue: That just means that for me to answer your question I would have to do what I told you to do. Why get your information second, third or fourth hand? Why not go to the source. :slight_smile:

yes i agree, thanks! i

yes i agree, thanks!  i looked it up and after a few troubles i was sucessfully able to import the  library that had been given. Only problem is i keep getting the same message…

i even went in and open the arduino file from the folder instead of copy and paste and yet it still persists to have the error message. starting to think its the code but im sure im doing something small wrong

yes i agree, thanks! i

yes i agree, thanks!  i looked it up and after a few troubles i was sucessfully able to import the  library that had been given. Only problem is i keep getting the same message…

i even went in and open the arduino file from the folder instead of copy and paste and yet it still persists to have the error message. starting to think its the code but im sure im doing something small wrong