Hi @ojasjangal2010. I'll provide instructions for installing the "RFID" library:
- Download the file from the "Download the code: RFID Sensor Sketch" link in the tutorial.
- Unzip the downloaded file.
The unzipped folder has this structure:RFID/ ├── RFID/ │ └── RFID.ino └── RFID Library/ └── RFID.zip
Note that there is a file named RFID.zipinside the folder you unzipped from the downloaded file. - Select Sketch > Include library > Add .ZIP Library from the Arduino IDE menus.
The "Select the zip file containing the library you'd like to add" dialog will open. - Select the file at the following path under the unzipped folder:
RFID Library/RFID.zip - Click the "Open" button.
The dialog will close. - Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
ⓘ Successfully installed library from ...
It means you attempted to install the ZIP file downloaded from the tutorial. That can't work because the file downloaded from the tutorial contains two different things:
- The sketch
- The library
Arduino IDE's "Add .ZIP Library" can only be used with ZIP files that contain a library alone. This is the reason why the procedure works once you point it to the ZIP file of the "RFID" library.