I cannot use the terminal with an external file

Hello guys.
I’m trying to implement a terminal project with blynk where my terminal file is external but I can’t. I have already tried to declare my printing variable as external but it is an error. I can send commands, what I can’t see is the commands sent by the Arduino. Can someone help me. I will send an example project where I include my terminal file. Look below.

2 posts were merged into an existing topic: I can’t use the terminal in an external file