Issue storing QR in EEPROM and transmitting over RS485

Unfortunately this code is above my level of understanding so I wouldn't even know where to begin. I already tested the scanner output directly via serial monitor, so that part at least works fine using Waveshare's recommended test code:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(11, 12);  //Rx=11, Tx=12

void setup() {
  Serial.begin(115200);
  mySerial.begin(9600);
}

void loop() {
  if (mySerial.available()) {
    String receivedData = mySerial.readStringUntil('\n'); // Read entire data until newline character
    Serial.println(receivedData); // Print the data to Serial Monitor
  }
}