Skip to content

Commit 73b161b

Browse files
authored
Merge pull request ondryaso#14 from thijstriemstra/patch-1
Add installation instructions
2 parents 4faf6e7 + 90afe6b commit 73b161b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@ pi-rc522 consists of two Python classes for controlling an SPI RFID module "RC52
33

44
Based on [MFRC522-python](https://github.com/mxgxw/MFRC522-python/blob/master/README.md).
55

6-
You'll also need to install the [**SPI-Py**](https://github.com/lthiery/SPI-Py) library.
6+
Install using pip:
7+
```
8+
pip install pi-rc522
9+
```
10+
11+
Or get source code from Github:
12+
```
13+
git clone https://github.com/ondryaso/pi-rc522.git
14+
cd pi-rc522
15+
python setup.py install
16+
```
17+
You'll also need to install the [**SPI-Py**](https://github.com/lthiery/SPI-Py) and [**RPi.GPIO**](https://pypi.python.org/pypi/RPi.GPIO) libraries.
718

819
[MIFARE datasheet](http://www.nxp.com/documents/data_sheet/MF1S503x.pdf) can be useful.
920

0 commit comments

Comments
 (0)