Start a new topic

append identifier to "get" command. Is it possible ?

 Is there any way to append an identifier to the "get" command.

For example. I want to send the value of the variable x0, so the command has a format of get x0.txt.
How can I add an identifier so I know from which variable is the received data from the arduino ?

1 Comment

Refer to the Nextion Instruction Set.

"get x0.txt" will return 0X70 0X61 0X62 0X63 0XFF 0XFF 0XFF format.  (string of "abc")

Now didn't your Nextion program know that it was the x0 variable when you sent the instruction get?

Why not create a block around that get instruction that waits there until the response is received. ??

Login or Signup to post a comment