mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Update rfid.md
This commit is contained in:
@@ -64,7 +64,8 @@ RFID.inoを実行すると、 ICやスマートフォンのNFCをユニットの
|
||||
MFRC522 mfrc522(0x28); // MFRC522 インスタンス宣言
|
||||
|
||||
// 初期化
|
||||
M5.begin(); Serial.begin(115200); Wire.begin();
|
||||
M5.begin();
|
||||
Wire.begin();
|
||||
/* MFRC522を初期化 */
|
||||
mfrc522.PCD_Init();
|
||||
/* Show details of PCD - MFRC522 Card Reader details */
|
||||
@@ -108,4 +109,4 @@ void ShowReaderDetails() {
|
||||
<table>
|
||||
<tr><td>M5Core(GROVE A)</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>RFID Unit</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user