I have made a String variable, 'proName' .. with 15 characters stored in EEPROM of Arduino Mega.
I want to send this String to Nextion display text object, since the text to be sent is not Static..I am trying to use the escape character ( " ) before the String variable like this..
Here endMessage() sends three 0xFF.
I tried various combinations of quote mark before-after 'back slash+quote' , different places of escape character but nothing works.
Any help will be highly appreciated please.
-Arun
I am sorry to see the message I posted does not contain the back slash anywhere, that was included in my draft.
I am trying..
nexSerial.print("t0.txt= ");
nextSerial.print(""" String(proName));
endMessage();
Technically you can but it’s useless as what you write is the pointer address, the size and length, not the actual text which is « outside » the instance
Yes sure I stored the chacters in the eeprom's 15 locations...anyway my problem of sending a String variable from arduino to nextion has been resolved using the escape charcter backslash and double quote..anyway thanks for ur support...