Reading data received from Nextion on Serial Monitor

Apologies. The code compiles to a MEGA but not a UNO