Sending strings to Nextion Display
Posted: Sun Sep 04, 2022 1:50 am
Hello,
I am trying to incorporate a Nextion NX4827T043 display into my project using the Flowcode Nextion component .
I have studied the Flowcode example file that uses two buttons and LED's to show how to detect button presses but I cannot find a Flowcode example file that shows how to transmit data to the display.
For example, if I have created a text box on the Nextion display called "TextBox" and I want to send a string to this text box using the "SetText" command from the Nextion component, do I first create a string variable called "TextBox.txt" and enter that for the "Name" line and then create a string to display and enter that string on the "Text" line?
And is it basically the same procedure to send integers to the display using the SetValue command?
I hope that makes sense.
Thanks!
I am trying to incorporate a Nextion NX4827T043 display into my project using the Flowcode Nextion component .
I have studied the Flowcode example file that uses two buttons and LED's to show how to detect button presses but I cannot find a Flowcode example file that shows how to transmit data to the display.
For example, if I have created a text box on the Nextion display called "TextBox" and I want to send a string to this text box using the "SetText" command from the Nextion component, do I first create a string variable called "TextBox.txt" and enter that for the "Name" line and then create a string to display and enter that string on the "Text" line?
And is it basically the same procedure to send integers to the display using the SetValue command?
I hope that makes sense.
Thanks!