Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Adafruit_PN532.cpp File Reference
Go to the source code of this file.
Detailed Description
SPI Driver for NXP's PN532 NFC/13.56MHz RFID Transceiver
This is a library for the Adafruit PN532 NFC/RFID breakout boards This library works with the Adafruit NFC breakout ----> https://www.adafruit.com/products/364
Check out the links above for our tutorials and wiring diagrams These chips use SPI to communicate, 4 required to interface
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
HISTORY
v1.4 - Added setPassiveActivationRetries()
v1.2 - Added writeGPIO()
- Added readGPIO()
v1.1 - Changed readPassiveTargetID() to handle multiple UID sizes
- Added the following helper functions for text display static void PrintHex(const uint8_t * data, const uint32_t numuint8_ts) static void PrintHexChar(const uint8_t * pbtData, const uint32_t numuint8_ts)
- Added the following Mifare Classic functions: bool mifareclassic_IsFirstBlock (uint32_t uiBlock) bool mifareclassic_IsTrailerBlock (uint32_t uiBlock) uint8_t mifareclassic_AuthenticateBlock (uint8_t * uid, uint8_t uidLen, uint32_t blockNumber, uint8_t keyNumber, uint8_t * keyData) uint8_t mifareclassic_ReadDataBlock (uint8_t blockNumber, uint8_t * data) uint8_t mifareclassic_WriteDataBlock (uint8_t blockNumber, uint8_t * data)
- Added the following Mifare Ultalight functions: uint8_t mifareultralight_ReadPage (uint8_t page, uint8_t * buffer)
Definition in file Adafruit_PN532.cpp.
Generated on Wed Jul 20 2022 14:01:01 by
