Krolyxon
Commit 1d55752

Branches

Tags

Refs →

orion-rf.piolibdepsesp32-s3-n16r8Adafruit PN532README.md

53 lines · 2.5 KB · Markdown

1# Adafruit-PN532 [![Build Status](https://github.com/adafruit/Adafruit-PN532/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/adafruit/Adafruit-PN532/actions)
2
3
4This is a library for the Adafruit PN532 NFC/RFID breakout boards
5This library works with the Adafruit NFC breakout
6
7 * https://www.adafruit.com/products/364
8
9Check out the links above for our tutorials and wiring diagrams
10These chips use I2C or SPI to communicate.
11
12# Dependencies
13* [Adafruit_BusIO](https://github.com/adafruit/Adafruit_BusIO)
14
15
16# Contributing
17
18Contributions are welcome! Please read our [Code of Conduct](https://github.com/adafruit/Adafruit-PN532/blob/master/CODE_OF_CONDUCT.md>)
19before contributing to help this project stay welcoming.
20
21## Documentation and doxygen
22Documentation is produced by doxygen. Contributions should include documentation for any new code added.
23
24Some examples of how to use doxygen can be found in these guide pages:
25
26https://learn.adafruit.com/the-well-automated-arduino-library/doxygen
27
28https://learn.adafruit.com/the-well-automated-arduino-library/doxygen-tips
29
30## Formatting and clang-format
31This library uses [`clang-format`](https://releases.llvm.org/download.html) to standardize the formatting of `.cpp` and `.h` files.
32Contributions should be formatted using `clang-format`:
33
34The `-i` flag will make the changes to the file.
35```bash
36clang-format -i *.cpp *.h
37```
38If you prefer to make the changes yourself, running `clang-format` without the `-i` flag will print out a formatted version of the file. You can save this to a file and diff it against the original to see the changes.
39
40Note that the formatting output by `clang-format` is what the automated formatting checker will expect. Any diffs from this formatting will result in a failed build until they are addressed. Using the `-i` flag is highly recommended.
41
42### clang-format resources
43 * [Binary builds and source available on the LLVM downloads page](https://releases.llvm.org/download.html)
44 * [Documentation and IDE integration](https://clang.llvm.org/docs/ClangFormat.html)
45Adafruit invests time and resources providing this open source code,
46please support Adafruit and open-source hardware by purchasing
47products from Adafruit!
48
49Written by Limor Fried/Ladyada & Kevin Townsend for Adafruit Industries.
50BSD license, check license.txt for more information
51All text above must be included in any redistribution
52
53To install, use the Arduino Library Manager and search for "Adafruit PN532" and install the library. Adafruit BusIO library is also required