No description
Find a file
2018-12-20 14:09:20 -06:00
.github Add GitHub pull request template 2016-05-27 13:24:08 -07:00
Adafruit_PN532 Python 3 fixes (note Minecraft control library is still Python 2 only and out of our control.) 2016-04-15 00:31:56 +00:00
examples Python 3 fixes (note Minecraft control library is still Python 2 only and out of our control.) 2016-04-15 00:31:56 +00:00
.gitignore Initial commit 2015-03-19 15:14:19 -07:00
ez_setup.py Initial commit. 2015-03-19 22:58:41 +00:00
LICENSE Initial commit 2015-03-19 15:14:19 -07:00
README.md Updating readme for deprecation 2018-12-20 14:09:20 -06:00
setup.py Fix python 3 pip install issue with ez_setup relative import. 2016-10-20 02:48:21 +00:00

DEPRECATED LIBRARY. Adafruit Python PN532

This library has been deprecated! We are leaving this up for historical and research purposes but archiving the repository.

We are now only supporting the use of our CircuitPython libraries for use with Python.

Please check out the Adafruit CircuitPython PN532 library: https://github.com/adafruit/Adafruit_CircuitPython_PN532

Adafruit Python PN532

Python library for accessing a PN532 NFC breakout over a SPI connection from a Raspberry Pi, BeagleBone Black, etc.

Designed specifically to work with the Adafruit PN532 breakout using a SPI connection ----> https://www.adafruit.com/product/364

Installation

To install the library make sure your device is connected to the internet (with a wired or wireless connection), then connect to the device's terminal and run the following commands (assuming a Debian-based operating system like Raspbian, Debian, Ubuntu, etc.):

sudo apt-get update
sudo apt-get install build-essential python-dev git
git clone https://github.com/adafruit/Adafruit_Python_PN532.git
cd Adafruit_Python_PN532
sudo python setup.py install

Look inside the examples directory for a simple example of detecting and reading a MiFare classic card with readmifare.py. Make sure to run examples as root using sudo, for example:

sudo python readmifare.py

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Tony DiCola for Adafruit Industries. MIT license, all text above must be included in any redistribution