Skip to content

Commit

Permalink
fix some error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinyu-Zhao committed Sep 18, 2021
1 parent 898813b commit 9c825f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Advanced/I2C_Tester/I2C_Tester.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void setup()
Wire.begin(); //Init wire and join the I2C network. 初始化wire,并且加入到I2C网络
//Wire.begin(21, 22); //Detect internal I2C, if this sentence is not added, it will detect external I2C. 检测内部I2C,若不加此句为检测外部I2C
M5.Lcd.setTextColor(YELLOW); //Set the font color to yellow. 设置字体颜色为黄色
M5.Lcd.getTextDatum(3); //Rotate the screen. 旋转屏幕
M5.Lcd.setRotation(3); //Rotate the screen. 旋转屏幕
M5.Lcd.println("M5StickC I2C Tester"); //Print a string on the screen. 在屏幕上打印字符串

delay(3000);
Expand Down
2 changes: 1 addition & 1 deletion examples/Advanced/MultSerial/MultSerial.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
void setup() {
M5.begin(); //Init M5StickC. 初始化 M5StickC
// Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
Serial2.begin(115200, SERIAL_8N1, 16, 17); //Init serial port 2. 初始化串口2
Serial2.begin(115200, SERIAL_8N1, 33, 32); //Init serial port 2. 初始化串口2
}

void loop() {
Expand Down
2 changes: 1 addition & 1 deletion examples/Basics/HelloWorld/HelloWorld.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Visit the website for more information:https://docs.m5stack.com/en/core/m5stickc
* 获取更多资料请访问:https://docs.m5stack.com/zh_CN/core/m5stickc
*
* describe: Display.
* describe: Hello World.
* date:2021/9/3
*******************************************************************************
*/
Expand Down

0 comments on commit 9c825f5

Please sign in to comment.