mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-03 08:44:00 +01:00
Added support for Nextion Editor v0.26 bkcmd=1 at startup.
Signed-off-by: shennongmin <wupangfee@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user