参考如下,即可开始测试NFC相关的功能:
sudo apt -y update && sudo apt -y upgradesudo apt install rpi.gpio p7zip-full python3-pip pip3 install spidev pyserial cd wget https://www.waveshare.com/w/upload/6/67/Pn532-nfc-hat-code.7z 7z x Pn532-nfc-hat-code.7z cd ~/raspberrypi/python nano example_get_uid.py python3 example_get_uid.py
复制代码