Need help with Lilygo T-Beam sx1262 board receiving from another ESP32 board

Hi everyone, I am a beginner when it comes to lora and meshtastic. So far. I have an ESP32-wroom-32 board that is reading a RS485 sensor. It’s able to receive that sensor data and print it to the pc serial. I got a Lilygo t-beam sx1262 board with the OLED screen that I want to receive that data as well. If possible, also display the data to the meshtastic app in a channel or just the OLED display is fine too (I just want to be able to visually see it to confirm).

I am getting lost on how to start with the lora board since there is a lot of information on it and I don’t really know how to work with it either. So far I was able to get two lora boards to talk to each other on the app in a channel.

It seemed like the lora was able to receive serial data and put it in a channel if its set in either “Simple” or textmsg" mode. This is how I configed my serial

baud: BAUD_38400
echo: true
enabled: true
mode: SIMPLE
rxd: 13
txd: 14

and then I have those connected to my ESP32 IO16 and IO17. (the lora rx needs to connect the esp tx right? and vise versa)

I have just been trying to use Arduino IDE and serial connections. Here’s a simple test code I was trying to do to see if I could connect to the Lora and have it echo back the information. I haven’t been able to figure out how to get it to show up in a channel or on the OLED though. There are a lot of github pages but I don’t really know how to use those…

#include <HardwareSerial.h>

#define LORA_RX_PIN 16
#define LORA_TX_PIN 17

HardwareSerial SerialLoRa(2); // Use Serial2 for LoRa communication

void setup() {
  Serial.begin(115200); // Initialize serial monitor
  SerialLoRa.begin(38400, SERIAL_8N1, LORA_RX_PIN, LORA_TX_PIN); // Initialize Serial2 for LoRa communication

void loop() {
  SerialLoRa.println("Hello from ESP32!"); // Send data via Serial2 to the LoRa board
  Serial.println("Said hello to lora");
  // Wait for response from LoRa board
  // Check if data is available
  while (SerialLoRa.available()) {
    // Read the response from the LoRa board
    String response = SerialLoRa.readStringUntil('\n');
    // Print the response to the serial monitor
    Serial.println("Response from LoRa board: " + response);
  //Wait before sending another message

I would really love some help and insight of how I could get this working.

Update. I was able to figure out my serial communication from my esp32. It’s not the greatest but it’s progress I needed.