# pxt-NFCI2C
**Repository Path**: dfrobot/pxt-NFCI2C
## Basic Information
- **Project Name**: pxt-NFCI2C
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-02-02
- **Last Updated**: 2025-02-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# PN532 I2C
## Micro:bit NFC Sensor expansion board.
## Table of Contents
* [URL](#url)
* [Summary](#summary)
* [Blocks](#blocks)
* [License](#license)
## URL
project URL: ```https://github.com/DFRobot/pxt-NFCI2C```
## Summary
NFC Sensor expansion board provides some Micro:bit blocks for reading and interpreting PN532 NFC RFID Module over I2C. These blocks make it easy to operate or acquiring imformation from the card via NFC sensors.Near field communication (NFC) is a set of standards for smart phones and similar devices to establish radio communicationwith each other by touching them together or bringing them into close proximity, usually no more than a few centimeter.
## Blocks
### 1.checkCard

Whether a card is detected by NFC.
### 2.checkUid

Whether UID data of card is detected.
### 3.getUid

Read NFC sensor UID data.
### 4.readDataBlock

Read all data on NFC data block.
### 5.readDataNByte

Read NFC data specifying N bytes.
### 6.readDataByte

Read NFC data specifying one byte.
### 7.writeData

Write data to the first few bytes of the NFC data block
### 8.blockList

### 9.nfcDataList

## Example
get code: ```https://github.com/DFRobot/pxt-NFCI2C/blob/master/test.ts```
## License
MIT