我有一个RFID-RC522(MF-RC522)模块,我正在使用Arduino草图程序.为了使用这种RFID,我下载了Arduino MFRC522库.
我运行库的示例代码.
这是代码.
/*
* MFRC522 - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT.
* The library file MFRC522.h has a wealth of useful info. Please read it.
* The functions are documented in MFRC522.cpp.
*
* Based on code Dr.Leong ( WWW.B2CQSHOP.COM )
* Created by Miguel Balboa (circuitito.com), Jan, 2012.
* Rewritten by Søren Thing Andersen (access.thing.dk), fall of 2013 (Translation to English, refactored, comments, anti collision, …Run Code Online (Sandbox Code Playgroud)