This example is similiar to Hello World example except this time we are connecting trough RS232 serial port using TTL RS232 conventer:
You can connect it to your PC with USB to RS232 conventer or with ordinary serial cable if you have serial port on your PC.
Usage if pretty much the same as with Serial1. Here is echo example:
esp32-examples/examples/Hardware Serial Console/sketch/sketch.ino
Lines 1 to 16 in c9c8a3b