Skip to content

Fix text size setting method in RFID_RC522 example #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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("");
}
}