Reading data received from Nextion on Serial Monitor

Sorry, I have no idea what a TJC Nextion is, please provide a link to where you bought it or to it in Itead's web site.

The kind of Nextion you have is irrelevant to my code, it will compile for a Mega without a problem. What error does the compiler give when you try?