[RTduino][ST7789] fix the demo of duration time caculation
This commit is contained in:
parent
5a51cd29c7
commit
a75de72bb1
|
@ -279,8 +279,8 @@ static void st7789_setup(void)
|
||||||
Serial.print(time, DEC);
|
Serial.print(time, DEC);
|
||||||
Serial.println(" ms");
|
Serial.println(" ms");
|
||||||
|
|
||||||
testdrawtext((char *)"RTduino is an open source project which is compatible with Arduino APIs so that RT-Thread beginners can easily get start to use RT-Thread through Arduino APIs, which significantly reduces the difficulty of learning RT-Thread.", ST77XX_WHITE);
|
|
||||||
time = millis();
|
time = millis();
|
||||||
|
testdrawtext((char *)"RTduino is an open source project which is compatible with Arduino APIs so that RT-Thread beginners can easily get start to use RT-Thread through Arduino APIs, which significantly reduces the difficulty of learning RT-Thread.", ST77XX_WHITE);
|
||||||
time = millis() - time;
|
time = millis() - time;
|
||||||
Serial.print("write text spend: ");
|
Serial.print("write text spend: ");
|
||||||
Serial.print(time, DEC);
|
Serial.print(time, DEC);
|
||||||
|
|
Loading…
Reference in New Issue