Serial Configuration Format

Serial.begin(speed, config)

Serial.begin(115200, SERIAL_8N1, RX, Tx)

Can I confirm RX is first then TX please?

Adding a ESP32 device to another ESP32 device that RX to TX and TX to RX is correct? Or TX to TX and RX to RX?

Second question is can you repurpose TX/RX pins?
Are TX/RX pins the same is alias?

I under stand that I will lose access the Serial Monitor but I want to see if they can be repurposed?

correct

Thanks

Can you confirm Serial.begin(speed, config) RX first then TX?

Serial.begin(115200, SERIAL_8N1, RX, Tx)

Hi,
Why do you need to use the program UART.
ESP32 has 3 hardware ports.

Tom... :smiley: :+1: :coffee: :australia:

where you are seen program uart?

Hi,

ESP32-Using-Hardware-Serial-Ports

How to use ESP32 hardware serial ports
There are three serial ports on the ESP32 known as U0UXD, U1UXD and U2UXD.

U0UXD is generally used to communicate with the ESP32 for programming and during reset/boot.
U1UXD is unused and can be used for your projects. Some boards use this port for SPI Flash access though!
U2UXD is unused and can be used for your projects.
Port usage is defined like this Serial2.begin(baud-rate, protocol, RX pin, TX pin);

Tom... :smiley: :+1: :coffee: :australia:

it looks logical.
Below the code example uses the same syntax:

Trying to add a ESP32CAM to send serial to ESP32.

Added the ESP32CAM TX/RX to the ESP32 RX/TX port to see serial monitor, just trying to get my head around adding this camera to the ESP32. Been following the thread below but can seem to work out "myTransfer.available" and think this is due to my

Serial2.begin(115200, SERIAL_8N1,RX,TX);

I wanted to see the ESP32Cam serial monitor output by adding to the master ESP32 ie TX/RX and RX/TX