Start a new topic

To send a string when I press a button from Nextion Editor

Hi, 



I'm starting to use Nextion Editor and I do not know if it's possible. 

 

I would like to send a string when I press a button on a particular page from Nextion Editor. How can I do it?

 

Another question is how can I get data when the external device sends an ACK to nextion, is it possible?

 

I do not know if there are things in the forum of this topic, I have not had time to read everything, it is a topic that I need urgently.



Thank you so much in advance


    - search for print
    - search for click
    - search for get

quick search = quick result ...

 

With commands always appear Double click to jump to code 


sorry for the inconvenience


what do you mean?

 

Means I have problems implementing the code in Nextion Editor anb I always see this error when compiling, Can you give me an example? To prove it


Sorry...

so, just double click and the editor even jump to your error in code ...


double click, check, correct ...


without see your hmi code, I guess nobody is able to help ...

But you tell me  that is possible that when I press the button (b0, the component button) I can send the string that I want? It is right?

Have you ever done it?

read the Nextion Instruction set ... and maybe "print<h>" it out ...

in the time you waste for posting you already could read the instruction set twice ...

:-)

 


2 people like this

Your site is just made to complain about clients? The one who make you earn money? 


Your information has much lacks, and your hardware could be good if you were client focused...


:)

So! Indeed! An example to send a simple string with a simple button should not take you too long to give... 

Or maybe, you are not able to? 


I tries "print" but it doesn't give anything when reading over serial.


Thanks a lot for your efficient replies.

And already thanks for the useless text I will need to read before to get a reply.


indeed reading is a prerequisite ... and indeed understanding what you read ...

otherwise people would catch that this forum is closed since Nov. 15 2017 ...

as stated FEATURED on top of EVERY category ...



1 person likes this