Serial (UART) communication

You do not need to upload code again. We here this from beginners many times and they are always mistaken.

There is no need for libs or vars in this simple example.

Yes their is as your code as posted will not compile, so how can we try it?
As you choose not to cooperate with simple requests I guess you are in your own.