RP2040 connect TX,RX not functioning

posting the exact sender and the exact receiver-code
posting what you get in the serial monitor as a code-section too

so that others can analyse what you received in the serial monitor

using looping back from

serial Tx to serial1 Rx
serial Rx to serial1 Tx
of one and the same microcontroller
with using the same baudrate on both serial interfaces

using the command serial.write() to send really a single byte instead
of a string

printing the value of the received byte as

  • binary
  • decimal

using a
USB-to-COM-Port-adapter and receiving the sended bytes with a terminal software and printing the received bytes as decimal or hexadecimal values

connecting 8 LEDs to the receivers IO-pins and switch on / off the 8 IO-pins according to the bits of the received byte

best regards Stefan