Serial communication between Arduino Mega and NodeMCU

I’m trying to make a serial communication between Arduino Mega and NodeMCU.
I connect the arduino’s rx to nodemcu’s tx and vice versa.
the serial output of nodemcu is “???”
What did i do wrong??
P.S. = below there is the code

Immagine.png

(deleted)