Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/Unit/RFID_RC522/RFID_RC522.ino
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MFRC522 mfrc522(0x28); // Create MFRC522 instance. 创建MFRC522实例
void setup() {
M5.begin(); // Init M5Stack. 初始化M5Stack
M5.Power.begin(); // Init power 初始化电源模块
M5.lcd.setTextSize(2); // Set the text size to 2. 设置文字大小为2
M5.Lcd.setTextSize(2); // Set the text size to 2. 设置文字大小为2
M5.Lcd.println("MFRC522 Test");
Wire.begin(); // Wire init, adding the I2C bus. Wire初始化, 加入i2c总线

Expand All @@ -45,4 +45,4 @@ void loop() {
M5.Lcd.print(mfrc522.uid.uidByte[i], HEX);
}
M5.Lcd.println("");
}
}