Added support for Nextion Editor v0.26 bkcmd=1 at startup.

Signed-off-by: shennongmin <wupangfee@gmail.com>
This commit is contained in:
shennongmin
2015-08-11 16:24:38 +08:00
parent 91d7cdbde9
commit e9ebdd1752
3 changed files with 3 additions and 1 deletions

View File

@@ -400,8 +400,10 @@ bool nexInit(void)
dbSerialBegin(9600);
nexSerial.begin(9600);
NexTouch::sendCommand("");
NexTouch::sendCommand("bkcmd=1");
NexTouch::recvRetCommandFinished();
NexTouch::sendCommand("page 0");
delay(100);
NexTouch::recvRetCommandFinished();
return true;
}