Skip to content

Commit 05d3b7d

Browse files
committed
fix
1 parent 4f4b728 commit 05d3b7d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/Basics/IMU/IMU.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ M5Stack屏幕像素为 320x240,以屏幕左上角为原点 (0,0)*/
8181
M5.Lcd.setCursor(0, 175);
8282
M5.Lcd.printf("Temperature : %.2f C", temp);
8383

84-
delay(10); // Delay 1000ms (1 sec) //延迟1000ms(1秒)
84+
delay(10); // Delay 10ms //延迟10ms
8585
}

examples/Basics/Sleep/Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void loop() {
3636
M5.Lcd.printf("power-on triggered at:%s%s\n\n",(c) ? ("POWER-SW") : (""),(d) ? ("DeepSleep-end") : (""));
3737

3838
M5.Lcd.printf("Go lightSleep (5s or press buttonA wake up)\n");
39-
delay(5000); //delay 2500ms. 延迟2500ms
39+
delay(5000); //delay 5000ms. 延迟5000ms
4040
/*Restart after 10 seconds of light sleep and continue from the next line
4141
Calling this function power button will disable the power button to restore
4242
Please call M5.Power.setPowerBoostKeepOn(false)*/

examples/Unit/BPS_BMP280/BPS_BMP280.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Adafruit_BMP280 bme;
2222
void setup() {
2323
M5.begin(); //Init M5Stack. 初始化M5Stack
2424
M5.Power.begin(); //Init power 初始化电源模块
25-
M5.Lcd.setTextSize(2); //设置字体大小为3. Set the font size to 3
25+
M5.Lcd.setTextSize(2); //设置字体大小为2. Set the font size to 2
2626
Wire.begin(); //Wire init, adding the I2C bus. Wire初始化, 加入i2c总线
2727
while (!bme.begin(0x76)){ //Init this sensor,True if the init was successful, otherwise false. 初始化传感器,如果初始化成功返回1
2828
M5.Lcd.println("Could not find a valid BMP280 sensor, check wiring!");

0 commit comments

Comments
 (0)