Nextion lcd connection

hello everyone, I hope you are well I have a question, can I connect nextion lcd (rx, tx) on arduino to digital pins or analog pins, because on arduino, on (rx, tx) I have hc-05 connected, or can i connect the hc-05 to any other pin?

thanks

The HC-05 needs a serial port, the Nextion needs a serial port. The serial monitor on the AVR Arduino boards uses the first serial port on the board. You need 2 spare serial ports so you need something like the Mega, which has 3 spare serial ports, or use software serial.

PerryBebbington: The HC-05 needs a serial port, the Nextion needs a serial port. The serial monitor on the AVR Arduino boards uses the first serial port on the board. You need 2 spare serial ports so you need something like the Mega, which has 3 spare serial ports, or use software serial.

okay , thank you