ParticlePN532 (community library)
Summary
| Name | Value |
|---|---|
| Name | ParticlePN532 |
| Version | 1.0.2 |
| Installs | |
| License | MIT |
| Author | Jackson Horton |
| URL | https://github.com/jacksonhorton/ParticlePN532 |
| Repository | https://github.com/jacksonhorton/ParticlePN532.git |
| Download | .tar.gz |
| All Versions | 1.0.2, 1.0.1, 1.0.0, 0.0.2, 0.0.1 |
Library for interacting with a PN532 NFC module v3 over I2C.
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not been validated or approved.
ParticlePN532
A Particle library port for the PN532 v3 Module by Elechouse.
Most of the original code in this repo was ported from elechouse's official PN532 repo. The original author created it as an Arduino library, so I adjusted the source to work in the Particle enviornment.
All testing was done on a Photon 2.
Usage
This snippet shows the basics of setting up the necessary objects to read from the PN532 chip.
You should use Particle's Wire(I2C) interface unless you know what you're doing.
// Initialize I2C interface
PN532_I2C pn532_i2c(Wire);
ParticlePN532 nfc(pn532_i2c);
void setup() {
nfc.begin();
}
For more specific examples, see the examples folder.
Installation
You can install the ParticlePN532 library using the Particle CLI or in the Web IDE.
In the Web IDE, from the libraries tab, search ParticlePN532 in the community libraries section and install the latest version.
NDEF
If you want to use NDEF records, additionally use the ParticleNDEF library (found here).
LICENSE
MIT License (c) 2024, Jackson Horton
Browse Library Files