Using sprintf and nextion display

Thank you for your responses.
David 2018
Thanks I cannot believe I missed that.
Added MySerial.print(message); to the code
and it works. Much Appreciated :grinning_face_with_smiling_eyes:

groundFungus. Pins 16 and 17 work just fine on the mega but I would prefer to use the built in
extra Serial ports on the Mega.
How do you set up these ports to use them.
Say I want to use Serial port 2. Do i just have to define the Tx & Rx pins as in SerialSoftware and then use "Serial2.print " instead of " mySerial.print"??