Start a new topic

Print string + val

Hello guys, to use the command "print" to print a string+val


Example:


print "time"+va0.val



But this doesn't work...


Nextion is simple expression based, not complex expressions


Simply issue two print statements one after the other.

Yeah, I did that... I've only to test if my arduino will read correctly. Thanks again PM.

I would be concerned in the manner you wish to catch this

The Iteadlib implements a first byte is incoming of type

The manner you're issuing under requires

 - you to catch a non-typed

 - then have to strip off the "human" time

 - then finally get to the va0.val meat and potatoes.


Perhaps be more direct with the MCU and you have less

work that it needs to do to implement


Login or Signup to post a comment